s3team / uroboros

Infrastructure for Reassembleable Disassembling and Transformation
190 stars 56 forks source link

Dissassembly does not work #5

Open geetam opened 6 years ago

geetam commented 6 years ago

The binary that I used is bzip2. Dump on running

python2 uroboros.py /usr/bin/bzip2

rm: cannot remove 'final_data.s': No such file or directory

rm: cannot remove 'useless_func.info': No such file or directory

rm: cannot remove 'main.info': No such file or directory

Traceback (most recent call last): File "main_discover.py", line 79, in main_symbol =main_symbol.split('0x')[1]

IndexError: list index out of range

rm: cannot remove 'final.s': No such file or directory

rm: cannot remove 'inline_symbols.txt': No such file or directory

objdump: section '.plt' mentioned in a -j option, but not found in any input file

1: linearly disassemble func number 1 2: disassembly validates --> no disassembly error detects func number 1 3: analysis user defined func number 0 Fatal error: exception Invalid_argument("String.sub / Bytes.sub") exception, processing failed

dreyes15 commented 5 years ago

Have you been able to solve this problem?

geetam commented 5 years ago

Nope.

computereasy commented 5 years ago

Hello @geetam, have you stripped the bzip2? it seems the .plt section is not even in the bzip2.

dreyes15 commented 5 years ago

@computereasy Here is the output from running file on md5.

screen shot 2019-03-08 at 10 19 02 am

However it seems I'm getting a different error I get the following :

screen shot 2019-03-08 at 10 20 31 am

Maybe you can help me...

A quick aside I am working on a project with Ameoba, is there an email I can use to ping you?

computereasy commented 5 years ago

@dreyes15 Have you tried our provided samples and make sure that works?

dreyes15 commented 5 years ago

@computereasy Do you mean the core utils samples or the SPEC samples?

computereasy commented 5 years ago

@dreyes15 coreutils.

dreyes15 commented 5 years ago

@computereasy I went back in the uroboros repo to find those samples, I was able to find sha512, and base64. However, running them through amoeba.py I get the following output.

Screen Shot 2019-03-08 at 1 38 04 PM
computereasy commented 5 years ago

@dreyes15 David, let me know if you cannot use Uroboros to process coreutils, according to our notes posted here: https://github.com/s3team/uroboros/blob/master/instruction_to_reproduce_experimenttal_results_reported_in_Wang_et_al._2015.md .

dreyes15 commented 5 years ago

@computereasy negative, I was not able to process Uroboros using the notes provided. Do you have a copy of the coreutil binaries used in the paper, to try those?

nadiakarichev commented 5 years ago

Cannot get work Uroboros with 64-bit elfs. It works only if the number of iterations is 1. If it is more than one, I get segmentation fault (core dump). Anyone was able to get it work with 64?

Also, when I run tier_test, I get this: "rm: cannot remove useless_func.info': No such file or directory rm: cannot removeinline_symbols.txt': No such file or directory" Even for 32-bit. Everything else looks fine