Commit Graph

74 Commits (53c97f9f481a2e9877b177b5186c8ffdb62e3305)

Author SHA1 Message Date
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
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 8a5aab62c9
reduce false positives on modifying storage array by value detector (#1962) 1 year ago
alpharush fc9377d28c
fail if artifact does not existing (#1947) 2 years ago
Simone adabce6180
Detect when ether is sent in Yul (#1909) 2 years ago
alpharush 0c27b000aa add support for prevrando (solc 0.8.18) 2 years ago
Feist Josselin 649e8d5e94 Minor python improvements 2 years ago
Simone 413a50a1d2 Fix call to a function in an inner scope 2 years ago
Simone a21e7b4cd1 Fix yul function calls 2 years ago
bart1e 0b7257209d External calls handled + output printing changed 2 years ago
Simone 408c863bbf Fix crash when variable is initialized 2 years ago
Simone 58e01ea218 Don't report variable in loop header 2 years ago
Simone 1a36952349 Add test 2 years ago
alpharush 36142aa3fb do not detect incorrect-shift when rhs is constant 2 years ago
alpharush 2d65116392 reduce false positives for incorrect-equality on struct fields 2 years ago
bart1e d1804f3d01 Tests updated 2 years ago
bart1e f48189951b Detector for array length caching added 2 years ago
bart1e 32d4bba9ef Tests updated 2 years ago
bart1e 4f67630990 Detector for incorrect using-for at the top level added 2 years ago
Simone e51cee61b3 Add test 2 years ago
Simone 6eb296cdf7 Test catch variables not detected as uninitialized 2 years ago
Simone 5afb9355be Improve tuple analysis 2 years ago
Simone 0dde4cc1f8 Fix abi.decode with a UserDefinedType fixed array 2 years ago
William Aaron Cheung 1fdb17529b
update ast parsing test artifacts 2 years ago
alpharush 3cba507cd8 add detector for uses of encode packed that may allow for duplicates encodings 2 years ago
alpharush 6d28c51022 lint 2 years ago
alpharush f8794a3958 update CONTRIBUTING.md to explain compiling and adding snapshot tests 2 years ago
Simone 1e8abe01d1 Fix try catch infinite recursion 2 years ago
alpharush 0f5fcce65d remove deepdiff and no longer used artifacts 2 years ago
alpharush 05f50867dc use pytest-insta to do snapshot testing for detectors 2 years ago
alpharush 07fcb5c149 simplify using reviewer suggestions 2 years ago
alpharush 0d3115fda0 run tests in parallel locally with makefile 2 years ago
alpharush 73a13acdf0 optimize npm installs 2 years ago
alpharush 437e0c7d66 more bash lints, update solc version inhardhat config 2 years ago
alpharush cf9df6efe4 more linting 2 years ago
alpharush 16f8f33cab fmt 2 years ago
alpharush 07a67b5a13 more init files 2 years ago
alpharush 718f3d2a7d add __init__ files to collect coverage 2 years ago
alpharush 6a0fb7ca80 remove duplicate pytest command, set skip_existing=True 2 years ago
alpharush 38c13da151 replace absolute path in zip artifact with generic path 2 years ago
alpharush 39a7fc2294 try recompiling 2 years ago
alpharush 453c0850c5 remove posix 2 years ago
alpharush 61f0890650 switch back to str from as_posix() 2 years ago
alpharush 23ec8b2390 do not install solc, fix file replace 2 years ago