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

Add drutil_expand_rep_string to instrace_*.c samples #4138

Open
derekbruening opened this issue Feb 26, 2020 · 2 comments
Open

Add drutil_expand_rep_string to instrace_*.c samples #4138

derekbruening opened this issue Feb 26, 2020 · 2 comments

Comments

@derekbruening
Copy link
Contributor

The memtrace* sample clients use drutil_expand_rep_string, but the instrace* ones do not. This can confuse users: https://groups.google.com/g/dynamorio-users/c/HR4pX6lwP_I

@JackKuo-tw
Copy link

JackKuo-tw commented Feb 17, 2021

I tried to add it but got SIGSEGV. Do you have any idea?

Here is the sample code instrace_simple_expand_rep.c & CMakeLists.txt, which can be put into the path dynamorio/api/samples

image

@derekbruening
Copy link
Contributor Author

I would suggest standard debugging: use debug build, get a callstack of the crash, etc. See https://github.com/DynamoRIO/dynamorio/wiki/Debugging

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

No branches or pull requests

2 participants