angr / angr-dev

Some helper scripts to set up an environment for angr development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault

p611148aadsl opened this issue · comments

I installed angr-dev.But how to do with segmentation fault when i use it?

20170225103403

Please show the output of dmesg | tail immediately after the segfault.

here
20170225104213

You waited too long after the segfault. dmesg is a general system log that contains lots of things, including the location of segfaults.

Please run python solve.py; dmesg | tail and post the results.

sorry..I'm a new user of angr..
20170225104636

Are you running in a 32-bit machine? There are some pending issues with installing angr on 32-bit linux. If this is the case, you're almost certainly using a VM, and you should switch to a 64-bit VM.

You are right.I'm using angr in a 32-bit virtual machine.I will try it again in a 64-bit VM.
Thanks you very much!

There is a problem when I try to analyses a binary on mips.
20170302110157

commented

I've never seen it. Is it still a 32-bit VM?

It is a 64-bit VM.But the binary is on mips.I got it from the filesystem in a router firmware.

Here is the binary.
webs.zip

I think it is because i tried it on a 64-bit VM but the binary is a 32-bit on mips.There is no problem when i tried this binary on a 32-bit VM.

so I haven't had time to look at this (and I still don't have time!) but I'm popping in to say that that's not the intended behavior - ideally you should be able to analyze any binary from any platform. Any difference in behavior of angr between platforms is a bug.