DynamoRIO / DynamoRIO/dynamorio

CRASH before report priv load load error b/c calls kernel32 DllMain on unload even though never fully loaded!

Open
#913 0 comments 0 reactions 0 assignees View on GitHub
Bug-DRCrash Migrated OpSys-Windows Priority-Medium
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on September 20, 2012 16:00:03_

xref issue #383 which looks different

log file ends in:

privload_process_one_import: import RtlCompareMemory not found in KERNEL32.dll
privload_process_imports: error processing imports
privload_load_finalize: failed to process imports KERNEL32.dll
privload_unload: KERNEL32.dll refcount => 1
privload_process_imports: unable to load import lib KERNEL32.dll
privload_load_finalize: failed to process imports client.file_io.dll.dll
privload_unload: client.file_io.dll.dll refcount => 0
privload_unload: unloading client.file_io.dll.dll @ 0x73160000
privload_unload: KERNEL32.dll refcount => 0
privload_unload: unloading KERNEL32.dll @ 0x012f0000
privload_call_entry: calling KERNEL32.dll entry 0x01300005 for 0

not finding RtlCompareMemory is due to having the wrong API set mapping.
but it should result in a nice message to the user, not a mysterious silent
crash.

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=913_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.