Skip to content

Commit c51a87f

Browse files
authored
Merge pull request #61 from crytic/update-sha3-read-from-memory
Add 'SHA3' to 'reads_from_memory'
2 parents 6feeb81 + 0c59b84 commit c51a87f

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

.github/workflows/main.yml

-16
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,3 @@ jobs:
4343
run: |
4444
python setup.py install
4545
python -m unittest discover "tests/"
46-
47-
test27:
48-
runs-on: ubuntu-latest
49-
50-
steps:
51-
- uses: actions/checkout@v3
52-
53-
- name: Set up Python 2.7
54-
uses: actions/setup-python@v4
55-
with:
56-
python-version: 2.7
57-
- name: Run Tests 27
58-
run: |
59-
python setup.py install
60-
python -m unittest discover "tests/"
61-

pyevmasm/evmasm.py

+1
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ def writes_to_memory(self):
315315
def reads_from_memory(self):
316316
"""True if the instruction reads from memory"""
317317
return self.semantics in {
318+
"SHA3",
318319
"MLOAD",
319320
"CREATE",
320321
"CALL",

0 commit comments

Comments
 (0)