Ledger-Donjon / rainbow

Makes Unicorn traces. Generic Side-Channel and Fault Injection simulator
GNU Lesser General Public License v3.0
172 stars 34 forks source link

HW_analysis example is not working #15

Closed snx90 closed 2 years ago

snx90 commented 2 years ago

Hello Donjon team,

The HW_analysis example is crashing when executing: e.start(e.functions['storage_containsPin'], 0xaaaaaaaa) inside comparePin function. My workstation is running Ubuntu 21.10 with the most updated version of all the dependencies.

➜ HW_analysis git:(master) ✗ python pin_compare.py
Setting up emulator Generating 500 traces [1] 13073 segmentation fault (core dumped) python pin_compare.py

yhql commented 2 years ago

Hello, and apologies for not seeing this issue earlier.

I think this fixes the problem, if you want to have a look. Thanks for pointing this out