cseagle / sk3wldbg

Debugger plugin for IDA Pro backed by the Unicorn Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use plugins on arch linux

dummys opened this issue · comments

Hello,

Trying to make it work under arch linux with latest 6.9 ida without luck.
Using the pre-built binary and puting libunicorn.so.1 in /usr/lib, also trying to put libida.so/libida64.so to /usr/lib, then ldconfig.
log:

-> $ sudo ldd libunicorn.so.1
linux-gate.so.1 (0xf77c8000)
libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6dcf000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf6d7a000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf6bc5000)
libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf6b50000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf6b32000)
/usr/lib/ld-linux.so.2 (0x565e5000)

-> $ ldd sk3wldbg.plx64
linux-gate.so.1 (0xf7730000)
libida64.so => /usr/lib/libida64.so (0xf73e3000)
libunicorn.so.1 => /usr/lib/libunicorn.so.1 (0xf6b40000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf69c9000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf6974000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6959000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf67a4000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf679f000)
librt.so.1 => /usr/lib32/librt.so.1 (0xf6796000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf6779000)
libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6650000)
/usr/lib/ld-linux.so.2 (0x56620000)
libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf65db000)

Is there any message when the plugin successfuly loaded in IDA ? I can't see any debugger called sk3wldbg on an arm binary.

What can I do to debug it ?
Thanks

There is no weird message in the output.
idaq.
On 3 May 2016 23:27, "Chris Eagle" notifications@github.com wrote:

The plugin usually spits messages to IDA's output window, Can you paste
the contents of your output windows following opening an ARM binary? Are
you running idaq or idaq64?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#3 (comment)

If you are using idaq, you need sk3wldbg.plx, NOT sk3wldbg.plx64 (which is what you reference in your original message). Has sk3wldbg.plx also been copied into your IDA plugins directory?

If you strace the launch of ida, what "open" calls are being made and do any of them fail with EEXIST?

No there is no EEXIST in the log.
And I can't find any reference of "sk3wldbg" in the log too

Any idea then ? Still stuck...

No ideas without additional info. Are you willing to share a complete strace of launching idaq on your system?

didn't know what I give you more... Ida is making logs too ?

omfg... I just looked and in fact i've keep the folder with the two plugins inside. Removing the folder and puting the plugins seems to load it. Sorry for such big mistake...