Commit Graph

944 Commits (3e8a643c31b67f955ba098a9e43be5724e1697e4)

Author SHA1 Message Date
Judy Wu e11580f188 fix: resolve state variable access in inherited internal functions from derived contracts, closes #1654 1 year ago
Judy Wu 8feb4943d9 Update test to assert expected parameter names 1 year ago
Judy Wu 1cdb2022cb address issue #2127 and allow function parameter name to be empty when casting to string 1 year ago
Feist Josselin 700794971b Release 2 new detectors 1 year ago
Judy Wu f07d506b4a Check s_ and i_ naming convention for private and internal only 1 year ago
alpharush cd000a4eea add tests 1 year ago
Kevin Clancy cc9e65fe13
fix: reorder named arguments to match declaration order (#1949) 1 year ago
Simone f50a126f2c
Improve custom error parsing with constants (#2115) 1 year ago
alpharush 3147396cbf
fix(convert): do not convert array type to elementary for `InitArray` (#2018) 1 year ago
Judy Wu 733012d15c issue #2083: add exceptions for i_ and s_ in the naming-conventions detector 1 year ago
Simone 8d5c033fbe
Improve mapping-deletion detector for nested mappings (#2084) 1 year ago
Simone ddd9d6561f Add IR test 1 year ago
Simone 8b07fe59d5
improve name resolution of type aliases (#2061) 1 year ago
alpharush 53c97f9f48
fix: preserve None tuple components in the left and right liftings of ternary expressions (#2120) 1 year ago
Emilio López 9da51fff3b
detectors: cache_array_length: include source mapping in finding (#2076) 1 year ago
joodiewoodo ff52901e6d
Allow underscore in variable naming convention for internal state variables (#2110) 1 year ago
Simone 1c4730dd11 Improve import aliasing 1 year ago
alpharush 404914cdfa link issues for TODO comments, lint 1 year ago
alpharush e8fa8b85fa more cleanup 1 year ago
alpharush 239369c853 propagate return type on call to state variable with interface type 1 year ago
alpharush e80238d8e9 add struct defs to file scope 1 year ago
alpharush c21798021c fix some lint warnings 1 year ago
alpharush 9df54e9c3a update tests 1 year ago
alpharush 9c4bc505d3 handle break/continue 1 year ago
alpharush 16140f29c8 cleanup and formatting 1 year ago
alpharush 4845a3bd26 fix and refactor comparison operator, add support for raise 1 year ago
alpharush 81cb124e2d support default args in calls 1 year ago
alpharush e287b2f905 fix phi placement by calling SlitherCompilationUnit.add_function 1 year ago
alpharush 47e274c907 consider function unimplemented if body is only pass 1 year ago
alpharush e561d33eb1 try removing trailing comment 1 year ago
alpharush f7ef48401e very simplistic support for reentrancy lock 1 year ago
alpharush f9633ca67a fix name resolution for shadowed state variable 1 year ago
alpharush 0efef8babf add test for parsing and cfgir 1 year ago
alpharush 36c60a93b0 add failing phi test 1 year ago
alpharush ae45f461e3 initial tests 1 year ago
alpharush 85e63c6ba5 rename fixture 1 year ago
webthethird 73d8b7f2f2 Add regression test for handling external structs 1 year ago
Simone d9977c02ad Add end assembly node in the cfg 1 year ago
alpharush d90505826f
fix ternary rewrite test and make assertion more strict (#2067) 1 year ago
Simone b4add6eb05 Fix enum.max/min when enum in other contract 1 year ago
Tigran Avagyan f9df82341c attached continue node to if_loop in tests 1 year ago
Kevin Clancy 70c27422c3 leave None in tuple assignments for empty components. don't reuse variable's original tuple component across multiple assignments 1 year ago
alpharush 9ecc66ddf8 fix regression that caused retdata to be flagged 1 year ago
alpharush 5c40c52ba1 fix(cache-array-length): handle when `HighLevelCall` is a `StateVariable` 1 year ago
Simone ace672e27d Rename tests to run to ALL_TESTS 1 year ago
Simone f2accfd77d Add test 1 year ago
bossjoker1 e1febdd74e Check the respective parameter's storage location for each argument 1 year ago
alpharush 1b5e2e9327 update detector tests to reflect event fmt 1 year ago
alpharush 96b103225f fix merge/fmt 1 year ago
alpharush 068eee8341 add test 1 year ago