A23187
499bce16f7
some fixes ( #1721 )
...
* some fixes
- add cli option --enable-mutation-pruner to control if to enable MutationPrunerBuilder
- let cli option --enable-coverage-strategy to control if to load CoveragePluginBuilder
- let cli option --enable-iprof to control if to load InstructionProfilerBuilder
- remove the redundant print in MythrilDisassembler.hash_for_function_signature
- fix the bug of non-hexadecimal numbers found when converting hex(func_hash)[2:] to bytes
- other fixes
* some fixes
- add cli option --disable-mutation-pruner to disable MutationPrunerBuilder
- let cli option --disable-coverage-strategy to disable CoveragePluginBuilder
- let cli option --disable-iprof to disable InstructionProfilerBuilder
- remove the redundant print in MythrilDisassembler.hash_for_function_signature
- other fixes
* Fix tests
---------
Co-authored-by: norhh <nikhilparasaram@gmail.com>
2 years ago
Nikhil Parasaram
b2c409f53b
Add pending constraints strategy and make it the default search strategy ( #1767 )
...
* Check for 'unchecked' before turning off Integer module
* Use threading during solving constraints
* Hide segfaults
* Misc fixes
* Misc fixes
* Misc fixes
* reformat with black
* Mythril v0.23.21 (#1763 )
* Misc bug fixes (#1764 )
* Mythril v0.23.22 (#1765 )
* rebase
* rebase
* save changes
* Save changes
* Pop
* Reformat
2 years ago
Nikhil Parasaram
383331356d
Handle pragma parsing using pyparser ( #1737 )
...
* Handle pragma parsing using pyparser
* Change issue count
* Update requirementss
2 years ago
Nikhil Parasaram
030d640bbb
Fixes issue with ext calls ( #1733 )
...
* Fix false positives on constructor
* Fix issues with extcalls
* Remove a log
* Fix an ordering issue
* Fix a bug with balance_
2 years ago
Nikhil Parasaram
29bb08b411
Add support to older solc versions ( #1726 )
2 years ago
Nikhil Parasaram
0fac8e3d6d
Using cache search strategy ( #1714 )
...
* Fix JSON serialisation issue
* Add cache
* Add tests
* Remove a debug statement
2 years ago
Nikhil Parasaram
185f2d6cd2
Support solc-args ( #1698 )
2 years ago
Nikhil Parasaram
eb2c11ef01
Handles issue with low constructor loop bound and new way to deal with solver-timeout ( #1668 )
...
* Add exit code
* Update docs with tutorial
* Fix docs
* Reformat
* Fix the issue with loop-bound and solver-timeout
* Add test changes
* Restrict hexbytes
2 years ago
Nikhil Parasaram
90964e55b0
Add exit code ( #1662 )
...
* Add exit code
* Fix tests
2 years ago
Nikhil Parasaram
485b224598
Fix issue with simplify ( #1660 )
...
* Fix issues with arbitrary jump dest
* Support abi
* Add partial abi support
* Fix test
* Fix test directory
* Fix OOG issue
* Fix issue with simplify
* Fix typo
2 years ago
Nikhil Parasaram
d6e8813100
Add partial abi support ( #1655 )
...
* Fix issues with arbitrary jump dest
* Support abi
* Add partial abi support
* Fix test
* Fix test directory
2 years ago
Nikhil Parasaram
842e3da3a4
Fix issues with arbitrary jump dest ( #1654 )
2 years ago
Nikhil Parasaram
5a184e8225
Add support for locking config file ( #1652 )
...
* Add support for locking config file
* Remove abi decode test
* Fix typo
2 years ago
Nikhil Parasaram
591af8a319
Use latest blake2bpy, Fix version extraction ( #1644 )
...
* Use latest blake2bpy, Fix version extraction
* Fix setup.py
* Handle setup.py
* Handle setup.py
* Handle setup.py
* Fix requirements
* Fix requirements
* Fix requirements
* restrict eth-hash
2 years ago
Nikhil Parasaram
ca0edd6208
Handle CRLF line endings ( #1637 )
...
* Handle CRLF line endings
* Add new line at the end of file
3 years ago
Nikhil Parasaram
949a9820ad
Fix caching for exceptions module ( #1633 )
3 years ago
Nikhil Parasaram
651a17c647
Fix issue with cache during summaries ( #1619 )
...
* Check versions before using integer module
* Use IssueAnnotations
* Fix misc issues with summaries
* Fix cache issue
* Fix safe functions
3 years ago
Nikhil Parasaram
50e1ded4ab
Check versions before using integer module ( #1613 )
3 years ago
Nikhil Parasaram
bb1dd3e794
Support TX constraints and refactor CLI ( #1607 )
...
* Support TX constraints and refactor CLI
* Fix typing
* Add additional typing
* Use dict over accessor
* Fix z3py requirements
* Init storage args
* Init storage args
* Init args in vm tests
3 years ago
Nikhil Parasaram
7d3f9b5842
Beam search ( #1606 )
...
* Init config dir
* Fix solc optimizer
* Add beam search
* Use dict over reference
3 years ago
Nikhil Parasaram
8fbe2e2748
Fix NPM code block issue ( #1602 )
...
* Init config dir
* Fix solc optimizer
* Fix NPM code block issue
* Extend tests
3 years ago
Nikhil Parasaram
c88a5eda57
Fixes optimizer issue ( #1597 )
...
* Init config dir
* Fix solc optimizer
3 years ago
Nikhil Parasaram
0a2996a83e
Support Pragmas ( #1591 )
...
* Support Pragmas
* Fix MarkUpSafe
3 years ago
Nikhil Parasaram
c72ac81de1
Add more precompile tests ( #1576 )
...
* Add tests for natives
* Black updates
* Update black
3 years ago
Nikhil Parasaram
510ff95655
Support symbolic bytecode ( #1560 )
...
* Support symbolic bytecode
* Use hex notation
* Handle swarm hash
3 years ago
Nikhil Parasaram
65e274a210
Removes pyethereum Dependencies and leveldb libraries ( #1555 )
...
* change versions
* Move away from pyethereum dependency
* Remove leveldb
* Change requirements
* Add rzpad()
* Fix issues with sha3
* Fix sha3 edge cases
* Fix setup.py
* Restrict eth-utils
* Restrict eth-typing
* Fix py-ecc
3 years ago
Nikhil Parasaram
9d7873621e
Fixes issues by considering future concrete hashes ( #1547 )
...
* Fix issues with hashing
* Fix offsets and edge cases
3 years ago
Nikhil Parasaram
9d922fe9f4
Refactor opcode files and fix issues ( #1532 )
3 years ago
Nikhil Parasaram
3e113c9a55
[WIP] Add safe function support ( #1510 )
...
* Add safe functions cli
* Add a change
* Add tests
* Change examples
* Fix bytecode tests
3 years ago
Nikhil Parasaram
89bc36baa8
Support Panic(uint256) calls for asserts in v0.8.0+ ( #1514 )
...
* Support panic() asserts
* Use typing extensions
3 years ago
Nikhil Parasaram
067d2c0b47
Add BASEFEE opcode ( #1513 )
...
* Add BASEFEE opcode
* Add test
3 years ago
Nikhil Parasaram
e1f8b51c3b
Fix json issue ( #1503 )
...
* Fix json issue
* Add missing files
3 years ago
Nikhil Parasaram
05a1b5bb7e
Fix issues with optimizer ( #1499 )
...
* Fix issues with optimizer
* Fix solidity contract test
3 years ago
Nikhil Parasaram
c72d212c7e
[WIP] Handle exponents ( #1497 )
...
* Handle exponents
* Bruteforce enumerate constraints
* Fix evm tests
* Fix imports
* Fix z3 version to avoid exception
* Fix z3 version to avoid exception
* Fix z3 version
* Fix z3 version
* Hunt the issue
* Hunt the issue
* Hunt the issue
* Hunt the issue
* Hunt the issue
* Fix issue
* Fix issue
* Add tests
* Black
* Fix issue
* Fix issue with disassembler test
* Fix issue with disassembler test
3 years ago
Nikhil Parasaram
d8aa12d62b
[WIP]Use latest mythril CI image ( #1463 )
...
* Use updated container
* Use geth option
* Use geth option
* Update geth command
* use http flag
* Fix the geth flags
* Remove rpc test and use 0.5.0
* black
* Fix tests for different solc version
* Fix tests for different solc version
* Fix analyzer test
* Fix eth-hash
4 years ago
Nikhil Parasaram
3ef1065b15
Support berlin fork ( #1428 )
...
* Support berlin fork
* Add review fixes
Co-authored-by: JoranHonig <JoranHonig@users.noreply.github.com>
4 years ago
Nikhil Parasaram
79dfe70747
Support Ifs for arrays and have handy id function for Node ( #1418 )
...
* Support Ifs for arrays and have handy id function for Node
* rename counter
* Fix error related to mypy
* Fix tests
* Review fixes
4 years ago
Joran Honig
25207801c8
mock execution_info
4 years ago
Nikhil Parasaram
698b1d423f
Fix create tests
5 years ago
Nikhil Parasaram
1ddfc598be
Fix string loop errors ( #1370 )
...
* Fix off by one errors and add tests
* Add type hints
Co-authored-by: Bernhard Mueller <b-mueller@users.noreply.github.com>
5 years ago
Bernhard Mueller
aff3ec67b0
Update tx.origin test to excpect SWC-115
5 years ago
Bernhard Mueller
4391d1ae55
Revert tests
5 years ago
Bernhard Mueller
f5fc3c304d
Also update origin.sol.easm
5 years ago
Bernhard Mueller
32b5a1e21d
It's supposed to be runtime bytcode
5 years ago
Bernhard Mueller
3e8b668f0d
Try again
5 years ago
Bernhard Mueller
e09480df48
Remove the evil newline
5 years ago
Bernhard Mueller
d2be41b61d
Fix inexplicably failing test
5 years ago
Nikhil Parasaram
b304cad96e
Fix statespace tests
5 years ago
Nikhil Parasaram
bc767a6472
Black
5 years ago
Nikhil Parasaram
c7b4712a40
Fix tests
5 years ago