Commit Graph

96 Commits (26cfe008d2ad89306d9f75a259e74652ccc51a8b)

Author SHA1 Message Date
Feist Josselin 538539ba9e Add return-bomb detector 1 year ago
Feist Josselin 4d1d32b63f Add tautological-compare 1 year ago
Feist Josselin f7ab4a734f Add incorrect-exp detector 1 year ago
Feist Josselin 700794971b Release 2 new detectors 1 year ago
Simone f50a126f2c
Improve custom error parsing with constants (#2115) 1 year ago
Simone 8d5c033fbe
Improve mapping-deletion detector for nested mappings (#2084) 1 year ago
Simone 8b07fe59d5
improve name resolution of type aliases (#2061) 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
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 4845a3bd26 fix and refactor comparison operator, add support for raise 1 year ago
alpharush e561d33eb1 try removing trailing comment 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
Simone b4add6eb05 Fix enum.max/min when enum in other contract 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