All pastes #1576203 Raw Edit

tracer_ok.txt

public text v1 · immutable
#1576203 ·published 2009-09-23 06:57 UTC
rendered paste body
~/work/eresi/testsuite/tracing > cat host.c
#include <stdio.h>

void  testcrypt(int a)
{
        a++;
}

int main()
{
  char path[8];
  putchar(path[0]);
}
~/work/eresi/testsuite/tracing > make clean && make all32 && ./tracer32
rm -f tracer.32.o host.32.o tracer.64.o host.64.o *~ \#* *\#
gcc -c tracer.c -o tracer.32.o -I /libstderesi/include -I /librevm/include -I /libelfsh/include -I /libasm/include -DERESI32 -I /libaspect/include -I /libedfmt/include -I /libmjollnir/include -gdwarf-2 -fno-stack-protector -O0 -g
gcc -O0 -gdwarf-2 -lcrypt host.c -o host32
gcc -I /libstderesi/include -I /librevm/include -I /libelfsh/include -I /libasm/include -DERESI32 -I /libaspect/include -I /libedfmt/include -I /libmjollnir/include -gdwarf-2 -fno-stack-protector -O0 -lcrypt host.c -S
gcc tracer.32.o -L /libstderesi/ -lstderesi32 -L /librevm/ -lrevm32 -L /libelfsh/ -lelfsh32 -L /libasm/ -lasm32 -L /libaspect/ -laspect32 -L /libedfmt/ -ledfmt32 -L /libmjollnir/ -lmjollnir32 -o tracer32
 [*] New object dependences loaded : /lib/libcrypt.so.1
 [*] New object dependences loaded : /lib/libc.so.6
 [*] New object dependences loaded : /lib/ld-linux.so.2
        [*] Added function main successfully into trace global
        [*] Created trace critical successfully

        [*] Created trace mainnodes successfully

        [*] Added function testcrypt successfully into trace mainnodes
found relgotname = .elfsh.reldyn
[DEBUG_COPYPLT] Section Mirrored Successfully !
Found sect .text at off 33885
Found sect .text at off 33876
[*] a.out traced into fake_aout