move tracers into the tracers directory

This commit is contained in:
George Hotz 2015-03-24 00:36:08 -07:00
parent 244118b614
commit 1aec90c6a4
20 changed files with 5 additions and 3 deletions

View File

@ -22,11 +22,13 @@ if [[ "$unamestr" == 'Linux' ]]; then
sudo yum install python-pip python-devel gcc gcc-c++ python-virtualenv glib2-devel
fi
if [ $(qemu/qira-i386 > /dev/null; echo $?) == 1 ]; then
if [ $(tracers/qemu/qira-i386 > /dev/null; echo $?) == 1 ]; then
echo "QIRA QEMU appears to run okay"
else
echo "building QEMU"
cd tracers
./qemu_build.sh
cd ../
fi
fi

View File

@ -82,7 +82,7 @@ class Program:
self.identify_program()
def identify_program(self):
qemu_dir = os.path.dirname(os.path.realpath(__file__))+"/../qemu/"
qemu_dir = os.path.dirname(os.path.realpath(__file__))+"/../tracers/qemu/"
pin_dir = os.path.dirname(os.path.realpath(__file__))+"/../pin/"
self.pinbinary = pin_dir+"pin-latest/pin"

View File

@ -70,7 +70,7 @@ def load_binary(static):
section['sh_addr'] + PLT_ENTRY_SIZE + PLT_ENTRY_SIZE*len(plt_symbols),
PLT_ENTRY_SIZE)):
static[addr]['name'] = name
print plt_symbols, section['sh_addr']
#print plt_symbols, section['sh_addr']
if isinstance(section, SymbolTableSection):