libs and broken mingw

This commit is contained in:
George Hotz 2014-08-21 09:54:14 -07:00
parent 68f7f062bb
commit 2172814945
6 changed files with 30 additions and 7 deletions

2
.gitignore vendored
View File

@ -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/

15
README
View File

@ -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

View File

@ -1,5 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
SDKROOT=~/build/idasdk66
unamestr=$(uname)

BIN
ida/libs/ZLIB.lib Normal file

Binary file not shown.

Binary file not shown.

17
ida/mingw_build.sh Executable file
View File

@ -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