DynamoRIO / DynamoRIO/dynamorio
Drrun deliver invalid exception to target application
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 630
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 31
Description
_From [ldpatchg...@gmail.com](https://code.google.com/u/111648904502169464665/) on August 13, 2014 21:26:14_
For the Summary, please follow the guidelines at https://code.google.com/p/dynamorio/wiki/BugReporting and use one of the CRASH, APP CRASH, HANG, or ASSERT keywords What version of DynamoRIO are you using? DynamoRIO-Windows-4.2.2763-42
Does the latest build from http://build.chromium.org/p/client.dynamorio/builds/ solve the problem? No
What operating system version are you running on? Windows7 32bits
What application are you running? dr_crash_xchgesp.exe
Is your application 32-bit or 64-bit? 32bits
How are you running the application under DynamoRIO? drrun dr_crash_checksum.exe
What happens when you run without any client? DynamoRIO delivered a unexpected exception to target code
What happens when you run with debug build ("-debug" flag to drrun/drconfig/drinject)?
What steps will reproduce the problem?
1.drrun dr_crash_checksum.exe
2.
3.
What is the expected output? What do you see instead? Is this an application crash, a DynamoRIO crash, a DynamoRIO assert, or a hang (see https://code.google.com/p/dynamorio/wiki/BugReporting and set the title appropriately)?
codebase: 80000
checksum = a2a2a270
unknownisa = 0
EXCEPTION_ACCESS_VIOLATION_counter = 0
EXCEPTION_DATATYPE_MISALIGNMENT_counter = 0
EXCEPTION_BREAKPOINT_counter = 0
EXCEPTION_SINGLE_STEP_counter = 0
EXCEPTION_ARRAY_BOUNDS_EXCEEDED_counter = 0
EXCEPTION_FLT_DENORMAL_OPERAND_counter = 0
EXCEPTION_FLT_DIVIDE_BY_ZERO_counter = 0
EXCEPTION_FLT_INEXACT_RESULT_counter = 0
EXCEPTION_FLT_INVALID_OPERATION_counter = 0
EXCEPTION_FLT_OVERFLOW_counter = 0
EXCEPTION_FLT_STACK_CHECK_counter = 0
EXCEPTION_FLT_UNDERFLOW_counter = 0
EXCEPTION_INT_DIVIDE_BY_ZERO_counter = 0
EXCEPTION_INT_OVERFLOW_counter = 0
EXCEPTION_PRIV_INSTRUCTION_counter = 0
EXCEPTION_IN_PAGE_ERROR_counter = 0
EXCEPTION_ILLEGAL_INSTRUCTION_counter = 0
EXCEPTION_NONCONTINUABLE_EXCEPTION_counter = 0
EXCEPTION_STACK_OVERFLOW_counter = 0
EXCEPTION_INVALID_DISPOSITION_counter = 0
EXCEPTION_GUARD_PAGE_counter = 0
EXCEPTION_INVALID_HANDLE_counter = 0
EXCEPTION_INVALID_LOCK_SEQUENCE_counter = 0
unknownisa_others = 0 Please provide any additional information below. Unexpected exception from drrun.
**Attachment:** [dr_crash_checksum.exe](http://code.google.com/p/dynamorio/issues/detail?id=1511)
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1511_
Contributor guide
Research direction
Start by reproducing `drrun dr_crash_checksum.exe` on the reported 32-bit Windows 7 setup using the attached `dr_crash_checksum.exe`, then compare it with execution without DynamoRIO and with the `-debug` flag. Done means identifying why drrun delivers an unexpected exception to the target and documenting or fixing the behavior with a reproducible validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100