mirror of
https://github.com/geohot/qira
synced 2025-03-13 10:33:30 +03:00
fixed signed int issue in ida plugin
This commit is contained in:
parent
4d0772cc1a
commit
7343a1602b
Binary file not shown.
Binary file not shown.
@ -1,15 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
SDKROOT=~/build/idasdk66
|
||||
unamestr=$(uname)
|
||||
if [[ "$unamestr" == 'Linux' ]]; then
|
||||
SDKROOT=~/build/idasdk66
|
||||
IDAROOT=~/ida-6.6
|
||||
OUTPUT="qira.plx"
|
||||
OUTPUT64="qira.plx64"
|
||||
ln -sf libs/linux_libwebsockets.a libwebsockets.a
|
||||
elif [[ "$unamestr" == 'Darwin' ]]; then
|
||||
SDKROOT=~/idasrc
|
||||
IDAROOT="/Applications/IDA Pro 6.6/idaq.app/Contents/MacOS/"
|
||||
OUTPUT="qira.pmc"
|
||||
OUTPUT64="qira.pmc64"
|
||||
|
@ -47,7 +47,7 @@ static int callback_qira(struct libwebsocket_context* context,
|
||||
msg("QIRARX:%s\n", (char *)in);
|
||||
#endif
|
||||
if (memcmp(in, "setaddress ", sizeof("setaddress ")-1) == 0) {
|
||||
ea_t addr = atoi((char*)in+sizeof("setaddress ")-1);
|
||||
ea_t addr = strtoul((char*)in+sizeof("setaddress ")-1, NULL, 10);
|
||||
thread_safe_jump_to(addr);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user