DynamoRIO / DynamoRIO/dynamorio

ASSERT(kernel32 != NULL && get_console_cp != NULL) failed in privload_console_share

Open
#1,517 1 comment 0 reactions 0 assignees View on GitHub
Migrated Priority-Medium
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

_From [piyuske...@gmail.com](https://code.google.com/u/117873943802993320844/) on August 18, 2014 14:33:07_

When we are running a 32 bit application on 64 bit architecture using map based injection and using a client which calls dr_enable_console_printing this assertion fails. We are running a hello world program on Windows 7.

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

Contributor guide

Open the contributing guide

Research direction

Start at privload_console_share and the dr_enable_console_printing call path, then reproduce the reported case: a 32-bit hello-world application on 64-bit Windows 7 using map-based injection. Trace why kernel32 or get_console_cp is unavailable and verify that console printing no longer triggers the assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.