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

i#3046: Fix .NET start address problems #3461

Merged
merged 1 commit into from
Mar 19, 2019
Merged

Conversation

derekbruening
Copy link
Contributor

On recent Windows versions, the loader changes the start address of
the initial thread's CONTEXT. However, for late injection, DR had
already cached the address to the value set by the kernel, which
crashes. We solve that by updating the start address register when we
run our takeover code.

Adds a .NET test to the suite.

Fixes #3046

On recent Windows versions, the loader changes the start address of
the initial thread's CONTEXT.  However, for late injection, DR had
already cached the address to the value set by the kernel, which
crashes.  We solve that by updating the start address register when we
run our takeover code.

Adds a .NET test to the suite.

Fixes #3046
@derekbruening
Copy link
Contributor Author

The Windows test failure was #3320.

@derekbruening derekbruening merged commit 9953ebc into master Mar 19, 2019
@derekbruening derekbruening deleted the i3046-dotnet-win10 branch March 19, 2019 23:24
Carrotman42 pushed a commit that referenced this pull request Mar 20, 2019
On recent Windows versions, the loader changes the start address of
the initial thread's CONTEXT.  However, for late injection, DR had
already cached the address to the value set by the kernel, which
crashes.  We solve that by updating the start address register when we
run our takeover code.

Adds a .NET test to the suite.

Fixes #3046
hgreving2304 pushed a commit that referenced this pull request Mar 20, 2019
On recent Windows versions, the loader changes the start address of
the initial thread's CONTEXT.  However, for late injection, DR had
already cached the address to the value set by the kernel, which
crashes.  We solve that by updating the start address register when we
run our takeover code.

Adds a .NET test to the suite.

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

Successfully merging this pull request may close these issues.

1 participant