Commit Graph

36 Commits (72f4c5e46908eb4ba9e21ae7d2b033e4ccbdb942)

Author SHA1 Message Date
cgewecke 7ad7288dca
Only inject file-level instr. for first pragma in file (#865) 9 months ago
cgewecke 658dc377b1
Fix instrumentation error for virtual modifiers (#832) 10 months ago
cgewecke a6674c66fe
Fix chained ternary conditionals instrumentation (#830) 10 months ago
cgewecke 3edfd25371 Stop injecting statement coverage into conditionals 3 years ago
cgewecke cd863d3760 Add modifierWhitelist option (#597) 3 years ago
cgewecke e76a165b63 Add coverage measurement category options (#592) 3 years ago
cgewecke f6f94c1cd5 Add modifier-invocation-as-branch coverage (#588) 3 years ago
cgewecke 64f205ab22 Add coverage for ternary conditionals (#587) 3 years ago
cgewecke 9b173ae70f Add branch coverage for logical OR conditions (#499) 3 years ago
cgewecke 95341a0f57
Add support for `UncheckedStatement` blocks (#712) 3 years ago
cgewecke a743f2ef94
Fix pragma abicoder v2 instrumentation (#615) 4 years ago
cgewecke 9ab7757a92
Support file scoped function definitions (#605) 4 years ago
cgewecke be114946b3
Stop reporting assert statements as branches (#556) 4 years ago
cgewecke 3899f6d7c4
Make statement and function coverage measurement optional (#538) 4 years ago
cgewecke 655fb79530
Parse TryStatements and catchClauses (#522) 5 years ago
cgewecke f1fb8a0f49
Stop instrumenting receive() for statements / fns (to save gas) (#517) 5 years ago
cgewecke 1b8b73086c
Support multi-contract files w/ inheritance for solc 0.6.x (#511) 5 years ago
cgewecke 25eb6c4e69
Allow base contract string constructor args with open curly braces (#479) 5 years ago
cgewecke 1c8701ecf9 Improve coverage (#409) 5 years ago
cgewecke 1d093e9732 Stop injecting coverage hash fn definition in interfaces (#383) 5 years ago
cgewecke ec231a2328 Instrument with injected function calls (#381) 5 years ago
cgewecke fc3115138c Initial draft: 0.7.0 5 years ago
Alex b57c8e5122 Instrument modifiers correctly 6 years ago
Alex 95b099afbf Begin transition to solidity-parser-antlr 6 years ago
cgewecke eed704936a Add logic / tests to emit own events 7 years ago
cgewecke 633ceec9d1 Allow interface contracts 7 years ago
cgewecke 5ebd3041f6 Process all files in contracts folder for constant ABI mods 7 years ago
Alex Rea 986eeadc1b Do not require tests to use .call() 7 years ago
cgewecke 837deed888 Lint 7 years ago
Alex Rea f1389eecda First stab at instrumenting asserts 7 years ago
cgewecke 01a852a974 Instrument empty contract bodies correctly 8 years ago
cgewecke fa21d5bc22 Instrument conditional assignment to MemberExpressions 8 years ago
cgewecke 9d9dcda181 Fix tuple parsing / update tests 8 years ago
cgewecke 566758b40c Use coverage network port if avail (& unit test). 8 years ago
cgewecke bcd1c6fe81 Remove parse.js dummy node list, order nodes alphabetically 8 years ago
cgewecke 9f41aee7fa Move files into /lib and /bin 8 years ago
cgewecke 4b627f6b9e Fix broken chained call handling, add unit tests to verify cases get coverage 8 years ago
cgewecke 21d3c04ead Fix empty contract body parsing bug. Add coverage unit test for case 8 years ago
cgewecke 440bd8b602 Fix chained constructor/method call bug. Add compilation unit test for case 8 years ago
cgewecke 3e53edc87f Add missing assembly AST node type, ignore client truffle.js, revert previous README changes 8 years ago
cgewecke 52f0a4b889 Add assembly AST node names, edit README for npm install 8 years ago
cgewecke 53c7eaedd5 Bump solidity-parser to 0.3.0 & small fixes to accomodate it. Add tuples test. 8 years ago
Alex Rea 41a3e4a8ca Add brief headers to new files 8 years ago
Alex Rea 30a2292a00 Move instrumenter functions to separate file 8 years ago
Alex Rea 500cbd6f29 Remove the 'instrumenting' flag 8 years ago
Alex Rea 2c3a2248c8 Run ESLint over everything 8 years ago
Alex Rea 5ee149775f Move parse and injector into own files 8 years ago