DynamoRIO / DynamoRIO/dynamorio

tools/ldmp.exe doesn't work on Vista+

Open
#397 2 comments 0 reactions 0 assignees View on GitHub
Component-Tools 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 February 23, 2011 10:08:27_

this was PR 215425/case 10990

xref issue #118 (64-bit ldmp)

On vista we need to use NtCreateThreadEx instead of NtCreateThread.
Unfortunately, NtCreateThreadEx does all sorts of annoying things we don't
want (like allocate a stack, hide direct access to the context state etc.).
So will prob need to:

CreateThreadEx
Remote Free kernel allocated stack
SetContext

on Vista and see if that works (note that it only matters what platform
you're running the ldmp tool on, not what platform the .ldmp was generated
on).

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

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.