-
Notifications
You must be signed in to change notification settings - Fork 276
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
Support valgrind for ST #2
Comments
toffaletti already support this feature, we can merge this fork. |
We just need to tell valgrind the stack we allocate, by macro VALGRIND_STACK_REGISTER and VALGRIND_STACK_DEREGISTER The usage: https://github.com/ossrs/state-threads/tree/srs#usage |
For valgrind usage: https://github.com/ossrs/state-threads/tree/srs#valgrind |
SRS3 already use state-threads-1.9.1.tar.gz, which is the latest ST, patched to support Valgrind. |
Valgrind is very useful toolkit for memory leak detect and memory corrupt check, but not support ST for the setjmp/longjmp. Maybe we can patch ST to support valgrind.
The text was updated successfully, but these errors were encountered: