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

Not able to run pin_compare.py script #46

Closed Kapil-K-Kathiriya closed 1 year ago

Kapil-K-Kathiriya commented 1 year ago

image

Please look at attach a screenshot of the error and provide a solution... Thank you

yhql commented 1 year ago

I could not reproduce your specific problem, but now that an update has been merged, you can try again on this https://github.com/Ledger-Donjon/rainbow/pull/47 to see whether it works ?

Kapil-K-Kathiriya commented 1 year ago

I have tried updated code, but it still gets some TypeError; please look at attached screenshot

image

yhql commented 1 year ago

I suspect your version of Lascar is not up-to-date for this example

Kapil-K-Kathiriya commented 1 year ago

I would be grateful if you tell me How to fix this problem.

yhql commented 1 year ago

(mixed up Rainbow with Lascar. You should update Lascar) python -m pip install git+https://github.com/Ledger-Donjon/lascar

Kapil-K-Kathiriya commented 1 year ago

I have updated lascar, but it still gives the same error. For your clarification, I would like to mention the step I did, so if you see any invalid steps, please let me know. 1) Download the git repo as a zip file for this project from https://github.com/Ledger-Donjon/lascar 2) Unzip that file in my local system and then install the setup.py file using python setup.py install 3) Then I run python -m pip install git+https://github.com/Ledger-Donjon/lascar command 4) Then I run pin_compare.py using command python pin_compare.py

I have also checked the lascar version it is 1.1 and Rainbow version is 2.0

Kapil-K-Kathiriya commented 1 year ago

I appreciate your support, now I am able to run successfully.