-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added support for source coverage analysis and coverage report generation * Added support for parsing source maps, translating instruction index->offset * Added support for reverted coverage collection * Changed corpus to save different call sequences to different folders. * Improved init bytecode and runtime bytecode matching * Fix corpus initialization not measuring initial deployment coverage on fuzzer startup * Miscellaneous fixes and improvements --------- Co-authored-by: David Pokora <[email protected]> Co-authored-by: anishnaik <[email protected]>
- Loading branch information
1 parent
b7ea61b
commit 184905f
Showing
37 changed files
with
1,762 additions
and
722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
9 changes: 9 additions & 0 deletions
9
compilation/platforms/testdata/solc/basic/DerivedContract.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import "./SimpleContract.sol"; | ||
|
||
contract DerivedContract is SimpleContract { | ||
uint z; | ||
|
||
function setZ(uint value) public { | ||
z = value; | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
compilation/platforms/testdata/solc/basic/SimpleContract.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
contract SimpleContract { | ||
uint x; | ||
uint y; | ||
|
||
function setX(uint value) public { | ||
x = value; | ||
} | ||
|
||
function setY(uint value) public { | ||
y = value; | ||
} | ||
} | ||
|
||
contract SimpleContract2 { | ||
uint x; | ||
uint y; | ||
|
||
function setX(uint value) public returns (bool) { | ||
x = value; | ||
return true; | ||
} | ||
|
||
function setY(uint value) public { | ||
y = value; | ||
} | ||
} |
20 changes: 0 additions & 20 deletions
20
compilation/platforms/testdata/truffle/basic_project/contracts/SimpleContract.sol
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
compilation/platforms/testdata/truffle/basic_project/migrations/1_initial_migration.js
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.