SMTChecker is unable to accurately determine the output of bytes.concat
- Dominant language
- C++
- Stars
- 25.7k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 21
Description
## Environment
- Compiler version: 0.8.25
- Target EVM version (as per compiler settings): No restrictions
- Framework/IDE (e.g. Truffle or Remix): Command-line
- EVM execution environment / backend / blockchain client: None
- Operating system: Linux
## Steps to Reproduce
```solidity
contract test {
function f() public {
bytes memory a="1";
bytes memory b="2";
bytes memory c=bytes.concat(a,b);
assert(c.length==2);
}
}
```
```
solc test.sol --model-checker-engine chc --model-checker-show-unproved --model-checker-timeout 0
```

Contributor guide
Assessment
This issue has not been assessed yet.