SSA: function parameter use index 1 instead of 0
Open
bug
ir
- Dominant language
- Python
- Stars
- 6.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
```solidity
contract A{
function f(int a, int b) public returns(int){
return a+b;
}
}
```
$ `slither test.sol --print slithir-ssa`
Function A.f(int256,int256)
Expression: a + b
IRs:
TMP_0(int256) = a_1 (c)+ b_1
RETURN TMP_0
```
Here `a_1` should be `a_0`. In particular this will break the taint analysis on the SSA API
Contributor guide
Assessment
This issue has not been assessed yet.