DynamoRIO / DynamoRIO/drmemory

Unsupported size error for clean call argument sp_action in stack_x86.c, when run under debug mode.

Open
#2,393 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

Hi.

Setup:
x86-64 linux.
Running leaks_indrect.c from the tests.

Failing run command:
bin64/drmemory -debug -dr_debug -- leak_indirect

Running x86 master branch with fastpath off and shared_slowpath off causes an error:

`

rsi instruction.

When I had this problem when developing the aarch64 port, doing the OPND_CREATE_INT32(sp_action) wrap fixed it as aarch64 doesn't hit the same 'no encoding found' assert after.

This problem does away entirely when you omit:
'-debug -dr_debug'

Let me know if you need anymore info.

Greg.

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.