Re: [Valgrind-users] About wrapper

2018-07-30 Thread Philippe Waroquiers
The below wrapping functions must be in code which is part of the guest code. That can be either directly in the guest program/libraries, or alternatively in a valgrind preloaded lib. The assert below indicates that the address of the provided wrapping function is not a valid guest address

[Valgrind-users] About wrapper

2018-07-29 Thread shuai xi
Hello developers: I want to write a tool for valgrind base on memcheck. I use the '_WRAP_ macros' to wrap malloc in libc, but there show me an error: valgrind: m_redir.c:638 (vgPlain_redir_notify_new_DebugInfo): Assertion 'is_plausible_guest_addr(sym_avmas.main)' failed. Segmentation fault (core