angr / angr-examples

Example scripts using angr
BSD 2-Clause "Simplified" License
26 stars 4 forks source link

`test_examples.test_mma_simplehash` is failing in CI #4

Open twizmwazin opened 1 year ago

twizmwazin commented 1 year ago

Description

Traceback (most recent call last):
  File "/__w/angr-doc/angr-doc/build/src/angr-doc/tests/test_examples.py", line 134, in test_mma_simplehash
    exampletest_single("mma_simplehash")  # ~hour
  File "/__w/angr-doc/angr-doc/build/src/angr-doc/tests/test_examples.py", line 32, in exampletest_single
    module.test()
  File "/__w/angr-doc/angr-doc/build/src/angr-doc/examples/mma_simplehash/solve.py", line 102, in test
    flag = main()
  File "/__w/angr-doc/angr-doc/build/src/angr-doc/examples/mma_simplehash/solve.py", line 69, in main
    b.hook(0x80487EC, mm)
  File "/__w/angr-doc/angr-doc/build/src/angr/angr/project.py", line 464, in hook
    raise TypeError("Please instanciate your SimProcedure before hooking with it")
TypeError: Please instanciate your SimProcedure before hooking with it

Steps to reproduce the bug

Run CI

Environment

CI

Additional context

No response