fraunhofer-aisec / data Goto Github PK
View Code? Open in Web Editor NEWDifferential Address Trace Analysis
License: GNU General Public License v3.0
Differential Address Trace Analysis
License: GNU General Public License v3.0
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
When executing make
wget is trying to download the specified pin tool from the intel servers, but does not receive a response. Constructing the download link myself and using a webbrowser to download the tool works. After placing the tool within the pin
directory make
runs successfully.
I took a closer look at the issue and could fix it by adding a user-agent string like: wget -U "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.27 Safari/537.17" https://software.intel.com/sites/landingpage/pintool/downloads/pin-3.11-97998-g7ecce2dac-gcc-linux.tar.gz
I could provide a pull request myself, but I'm not sure whether a static user-agent string within the Makefile is a good idea.
OS: Ubuntu 22.10 (VM)
wget: 1.21.3
Edit: added OS and wget version
DATA can not execute all three phases with python 3.10.6 and numpy 1.24.1. The issue appears to be data type related. I will upload a pull request containing simple fixes.
System used: Linux Mint 21.1 (based on Ubuntu LTS 22.04).
This would allow people without read-write access to the DATA-GUI repository to be able to run
git clone https://github.com/Fraunhofer-AISEC/DATA.git
cd DATA && make
without running into an error like this:
echo "DATA_ROOT=/home/fecht/DATA" > config.mk
echo "RESULTDIR=/home/fecht/DATA/results" >> config.mk
git submodule init
Submodule 'data-gui' ([email protected]:IAIK/data-gui.git) registered for path 'data-gui'
git submodule update --recursive
Cloning into 'data-gui'...
sign_and_send_pubkey: signing failed: agent refused operation
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:IAIK/data-gui.git' into submodule path 'data-gui' failed
Makefile:71: recipe for target '.setup' failed
make: *** [.setup] Error 128
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.