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

S2E Coverage IDA 7.0+ Error #390

Open
Pl0414141 opened this issue Feb 26, 2020 · 6 comments
Open

S2E Coverage IDA 7.0+ Error #390

Pl0414141 opened this issue Feb 26, 2020 · 6 comments

Comments

@Pl0414141
Copy link

I have installed IDA 7.0 from https://out7.hex-rays.com/files/idafree70_linux.run however seems not supported by S2E.

IDA 6.8 is supported but is too old, S2E should support IDA 7.0+

[S2E:fussea] (venv) peto@peto-virtual-machine:~/fussea/projects/mybin$ s2e coverage basic_block --disassembler=ida mybin
INFO: [basicblock] Checking for existing .disas file
INFO: [basicblock] No .disas file found
INFO: [basicblock] Generating disassembly information from IDA Pro for ././mybin
INFO: [sh.command] <Command '/opt/ida-6.8/idat64 -A -B -S/home/peto/fussea/install/bin/extractBasicBlocks.py /tmp/tmpj1iigto0/mybin'>: starting process
INFO: [sh.command] <Command '/opt/ida-6.8/idat64 -A -B -S/home/peto/fussea/install/bin/extractBasicBlocks.py /tmp/tmpj1iigto0/mybin', pid 20834>: process started
ERROR: [coverage]

RAN: /opt/ida-6.8/idat64 -A -B -S/home/peto/fussea/install/bin/extractBasicBlocks.py /tmp/tmpj1iigto0/mybin

STDOUT:

STDERR:

@vitalych vitalych changed the title S2e Coverage IDA 7.0+ Error S2E Coverage IDA 7.0+ Error Feb 26, 2020
@vitalych
Copy link
Member

vitalych commented Feb 26, 2020

What happens if you change the path to IDA in the configuration?

@Pl0414141
Copy link
Author

Even if the installation directory is changed, the problem persists because S2E call binaries that do not exist called "idal64" and "idat64".

Thanks

@vitalych
Copy link
Member

Perhaps you could rewrite it to pass the binary instead of the dir.
https://github.com/S2E/s2e-env/blob/master/s2e_env/templates/s2e.yaml#L11

@Pai-Po
Copy link

Pai-Po commented Aug 7, 2020

i got the same issue

@Pl0414141
Copy link
Author

The issue persists in any version of IDA > 7.0. Any idea to fix it?

@vitalych
Copy link
Member

I don't have access to IDA 7, so I can't test. You will have to change the code so that it suits this new version.

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

3 participants