Sign inSign up

prodrelworks/chisel-tool

By prodrelworks

Updated almost 6 years ago

Image
0

241

prodrelworks/chisel-tool repository overview

Trimmer & Chisel Tool

Clone Chisel from https://github.com/lahiri-phdworks/chisel, benchmark from https://github.com/lahiri-phdworks/chisel-bench Run in the cloned Chisel repository.

Chisel Tool Run

From /chisel dir.

$ sudo docker run --rm -it -v $HOME/Documents/Project:/home -it prodrelworks/chisel-tool:latest
$ cd /chisel
$ chisel ./test/test.sh ./test/function1/function1.c
$ chisel ./test/test.sh ./test/function0/function0.c

ROPgadgets & Metrics :

ROPgadget --binary /usr/bin/whereis > /tmp/whereis.gadgets
cd /gality && java -cp ./bin/ gality.Program /tmp/whereis.gadgets /tmp/whereis.gadgets.metrics && cat /tmp/whereis.gadgets.metrics

GadgetSetAnalyzer :

We need to edit a file here before we start the analsysis.

cd /GadgetSetAnalyzer
nano src/static_analyzer/GadgetSet.py 

Modify line 22, gality path to /gality/bin/. The below line fails but will work when the pipelines are running.

python3 src/GSA.py --output_metrics --output_addresses ./samples/CHISEL/date/date-8.21.origin ./samples/CHISEL/date/date-8.21.reduced 

Run the command https://github.com/lahiri-phdworks/chisel#quick-start to run Chisel Tool.

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

almost 6 years ago

docker pull prodrelworks/chisel-tool