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

Dissassembly does not work #5

Open
geetam opened this issue Jun 19, 2018 · 11 comments
Open

Dissassembly does not work #5

geetam opened this issue Jun 19, 2018 · 11 comments

Comments

@geetam
Copy link

geetam commented Jun 19, 2018

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
Copy link

dreyes15 commented Mar 7, 2019

Have you been able to solve this problem?

@geetam
Copy link
Author

geetam commented Mar 7, 2019

Nope.

@computereasy
Copy link
Contributor

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

@dreyes15
Copy link

dreyes15 commented Mar 8, 2019

@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
Copy link
Contributor

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

@dreyes15
Copy link

dreyes15 commented Mar 8, 2019

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

@computereasy
Copy link
Contributor

@dreyes15 coreutils.

@dreyes15
Copy link

dreyes15 commented Mar 8, 2019

@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
Copy link
Contributor

computereasy commented Mar 10, 2019

@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
Copy link

dreyes15 commented Mar 10, 2019

@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
Copy link

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 remove inline_symbols.txt': No such file or directory"
Even for 32-bit. Everything else looks fine

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

4 participants