Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port all suite/tests/* to x64 #16

Open
derekbruening opened this issue Nov 27, 2014 · 4 comments
Open

port all suite/tests/* to x64 #16

derekbruening opened this issue Nov 27, 2014 · 4 comments

Comments

@derekbruening
Copy link
Contributor

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

fixed protect-dstack in r275

@derekbruening
Copy link
Contributor Author

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

in r278 : issue #16 : x64 linux tests:

  • fixed x64 issue in common/decode-bad.c
  • updated security-common/ret_noncall_trace.c for x64
  • fixed x64 security-common.codemod by fixing bug in x64 modified code
    handling on linux
  • TestMemProtChg x64 fails to translate w/ -code_api
    • added eflags analysis of next block for mangle_trace(), necessary
      for proper translation
    • added checks for in-trace cmp instr to avoid "unsupported mangle instr"
      messages

@derekbruening
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant