diff --git a/.gitignore b/.gitignore index 1c6d4689..5d53964e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ old/qiradb/qiradb db/ qemu/qemu-2* distrib/ -libs/ qiradb/build cda/clang cda/include @@ -27,4 +26,5 @@ pin.log *~ cda/codesearch-* *.DS_Store +/libs/ diff --git a/README b/README index 584952ea..31d1a612 100644 --- a/README +++ b/README @@ -1,9 +1,16 @@ QIRA is a competitor to strace and gdb +See http://qira.me/ == Installation == -./install.sh should handle everything for both release and trunk -./fetchlibs.sh will fetch the libraries for armhf, armel, and ppc +./install.sh should handle everything for a base QIRA install + + +== Installation Extras + +./fetchlibs.sh will fetch the libraries for armhf, armel, aarch64, and ppc +./cda_build.sh will install CDA, allowing cda and --cda to work +./pin_build.sh will install the QIRA PIN plugin, allowing --pin to work == UI == @@ -68,10 +75,10 @@ Run install.bat == Using CDA == -Pass either --cda or --cda-only to QIRA, or just call "cda binary" +Pass either --cda to QIRA, or just call "cda binary" The binary must have DWARF data, and the source files must exist on the system -Without cda-only, you have to go to localhost:3002/cda +If you used --cda, you have to go to localhost:3002/cda Everything should be intuitive, except press '/' to regex search diff --git a/ida/build.sh b/ida/build.sh index a54bc9b2..25be584a 100755 --- a/ida/build.sh +++ b/ida/build.sh @@ -1,5 +1,4 @@ -#!/bin/bash -set -e +#!/bin/bash -e SDKROOT=~/build/idasdk66 unamestr=$(uname) diff --git a/ida/libs/ZLIB.lib b/ida/libs/ZLIB.lib new file mode 100644 index 00000000..6ceb9b1b Binary files /dev/null and b/ida/libs/ZLIB.lib differ diff --git a/ida/libs/websockets_static.lib b/ida/libs/websockets_static.lib new file mode 100644 index 00000000..88045bab Binary files /dev/null and b/ida/libs/websockets_static.lib differ diff --git a/ida/mingw_build.sh b/ida/mingw_build.sh new file mode 100755 index 00000000..0a57cd95 --- /dev/null +++ b/ida/mingw_build.sh @@ -0,0 +1,17 @@ +#!/bin/bash -e + +SDKROOT=~/build/idasdk66 +OUTPUT="qira.plw" +OUTPUT64="qira.p64" +OPENSSL=~/.wine/drive_c/OpenSSL-Win32 + +i586-mingw32msvc-g++ template.cpp -fPIC -D__IDP__ -D__PLUGIN__ -c -D__NT__ -I . -I$SDKROOT/include + +i586-mingw32msvc-g++ --shared template.o $SDKROOT/lib/x86_win_gcc_32/ida.a -o $OUTPUT \ + -lws2_32 \ + $OPENSSL/lib/libeay32.lib \ + $OPENSSL/lib/ssleay32.lib \ + libs/websockets_static.lib \ + libs/ZLIB.lib + +