Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError in analyze.py: Line 888 #41

Open
aahajj opened this issue May 15, 2023 · 0 comments
Open

AssertionError in analyze.py: Line 888 #41

aahajj opened this issue May 15, 2023 · 0 comments

Comments

@aahajj
Copy link

aahajj commented May 15, 2023

In the third phase of testing two different AES implementations, I encountered an AssertionError. The error specifically occurs on line 888 of the analyze.py file. Here is the relevant traceback:

Traceback (most recent call last):
  File "data/analysis/analyze.py", line 1695, in <module>
    cli()
  File "data/analysis/.pyenv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "data/analysis/.pyenv/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "data/analysis/.pyenv/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "data/analysis/.pyenv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "data/analysis/.pyenv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "data/analysis/analyze.py", line 1520, in specific
    specific_leakage_test(leaks, callback, keys, leaksonly, multiprocessing)
  File "data/analysis/analyze.py", line 973, in specific_leakage_test
    report_nospleak(rl)
  File "data/analysis/analyze.py", line 888, in report_nospleak
    debug(2, "Reporting %s@%x: %s", (leaktype, rl.ip, str(nospleak)))
  File "data/analysis/datastub/leaks.py", line 755, in __str__
    assert False

Although I attempted to resolve the issue myself, my attempt was unsuccessful. In my troubleshooting process, I modified the assertion on line 755 of the leaks.py file by changing it to assert True. This alteration allowed me to observe the output of the third testing phase. However, this modification does not logically align with the intended behavior of the code.

Despite my efforts, the AssertionError persists, indicating an underlying problem that needs to be addressed.

OS: Ubuntu 22.04.2 LTS
Python: Python 3.10.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant