DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.63k stars 557 forks source link

port all suite/tests/* to x64 #16

Open derekbruening opened 9 years ago

derekbruening commented 9 years ago

From derek.br...@gmail.com on February 16, 2009 09:34:03

this was PR 262902: [x64] port suite/tests/* to x64

not all of the tests have been ported. the most work involves externalizing the inline asm, but in the past I put in infrastructure to at least have it in the same file.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=16

derekbruening commented 9 years ago

From derek.br...@gmail.com on February 16, 2009 17:23:49

r21 fixed a bunch of tests. for windows the biggest fix needed is in the runall tests and the client-interface tests that run notepad and calc: we need to be running the 64-bit versions.

here is the current status:

Linux: Run 2: ARCH=x64 spec runallbuthotp : DYNAMORIO_OPTIONS=\"-code_api\" * TESTS: 60 passed, 17 failed: common/decode-bad common/protect-dstack linux/mmap linux/thread linux/thread-reset pthreads/ptsig security-common/codemod security-common/jmp_from_trace security-common/retexisting security-common/ret_noncall_trace security-common/retnonexisting security-common/selfmod2 security-common/selfmod-big security-common/selfmod security-common/TestAllocWE security-common/TestMemProtChg security-linux/stacktest *

Windows: Run 2: ARCH=x64 spec runallbuthotp : DYNAMORIO_OPTIONS=\"-code_api\" * TESTS: 48 passed, 48 failed: client-interface/cbr client-interface/cbr2 client-interface/cbr3 client-interface/cbr4 client-interface/custom_traces client-interface/decode-bb client-interface/events client-interface/nudge_test client-interface/pc-check client-interface/syscall win32/aslr-dll win32/callback win32/except.exe win32/fpe win32/getthreadcontext.exe win32/hooker-secur32.exe win32/hookerfirst.dll.dll win32/nativeexec.exe win32/oomtest win32/protect-datasec win32/reload-race win32/reload win32/rsbtest.exe win32/setcxtsyscall.exe win32/setthreadcontext.exe win32/threadchurn win32/tls.exe security-common/TestAllocWE security-common/TestMemProtChg security-common/decode-bad-stack_asm.obj security-common/jmp_from_trace security-common/ret_noncall_trace security-common/retexisting security-common/retnonexisting security-common/selfmod-big.exe security-common/selfmod2_asm.obj security-common/vbjmp-rac-test.exe dresources.res security-win32/aslr-ind.dll.dll runall/calc-detach runall/calc-freeze runall/calc-hotp runall/calc-persist runall/calc-reset runall/calc runall/initapc.exe runall/initapc.runrunall runall/notepad *

derekbruening commented 9 years ago

From derek.br...@gmail.com on February 27, 2010 07:41:26

fixed protect-dstack in r275

derekbruening commented 9 years ago

From derek.br...@gmail.com on February 27, 2010 10:21:46

in r278 : issue #16 : x64 linux tests:

derekbruening commented 9 years ago

From qin.zhao@gmail.com on December 01, 2011 12:03:38

new cbr-retargetet.c test case in client-interface does not work in Windows X64 because of the inline assembly code.