Closed cyanpencil closed 2 years ago
Very nice proposition !
One question about rwtools
(you did not finish your thoughts on it btw) : could this be placed in a subdirectory of src
? It might make more sense there.
could this be placed in a subdirectory of src
yes, agreed. I'm updating the issue text.
Still an issue but for public repo now :)
So as you may have notices half of the directories are useless, and the other half have the wrong name. So I am listing the changes I propose, and please tell me what you think / if something is missing.
debug
-> moved tobenchs/debug
. Only used by the currenttests
directory, so maybe should go inside theevaluation
folder with it?cftool
-> this needs discussion. it is the reimplementation of the free register analysis in Go by Matteo Rizzo. I don't know go at all so I re-used Sushant implementation in python and ported it to arm. It may be a directory on it's own, but needs a better name imho. Suggestions?testbins
-> somewhere inside our (new)tests
folderdemos
-> this can stay imhoevaluation
-> this has some (partially incomplete) scripts by Sushant used to list how many CVEs were spotted and other things. I don't know anything about them, but could be useful in the future. I would stick this folder inside thebenchs
directory.fuzzing
-> this could stay, imho. Thedocker
inside here is an absolute mess, but we'll think about this in a later datetests
-> surprisingly, those are not tests? I'm quite positive they are needed by evaluation, they are other scripts to test spotted CVEs. So I would stick this insideevaluation
rwtools
-> holds the various instrumentation passes that can be used with retrowrite. Probably the best place to put it is insidesrc
.third-party
-> delete thislibrw
-> wrong name. I propose to rename it tosrc
arm
-> hopefully should be refactored and merged intosrc
in the not-so-distant futureretrowrite_ci
-> this is made by me, there are CI scripts to run benchmarks on the raspberry and automatically produce plots from them that are then sent to you via a telegram bot. This might be useful in the future, but probably I would simply rename it toCI
and put it insidebenchs/CI
or something like that.pytest.ini
-> this is already being deleted in #6directory_overhaul.md
-> delete thisThis is just a rough idea but should make things cleaner and simpler for new people coming to the project. Let me know what do you think.