This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393

--- Comment #13 from Evgeniy Stepanov <eugeni.stepanov at gmail dot com> 2013-02-20 18:29:57 UTC ---
I don't see what can be done in that case. We should just declare it
unsupported.

We've got this problem on Android, where an instrumented JNI library is loaded
into Dalvik VM, which is outside of user control. We "solve" it by requiring
that the runtime library is LD_PRELOAD-ed into the DVM (Android has a mechanism
to do this on an individual app basis on rooted devices).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]