Re: Issue 271 in address-sanitizer: cannot use ASAN w/shared-library code (JVM, JNI)

2014-02-27 Thread address-sanitizer
Comment #1 on issue 271 by konstant...@gmail.com: cannot use ASAN w/shared-library code (JVM, JNI) http://code.google.com/p/address-sanitizer/issues/detail?id=271 a relevant link: https://code.google.com/p/address-sanitizer/wiki/AsanAsDso You may try to LD_PRELOAD asan built as a shared libra

Re: Issue 271 in address-sanitizer: cannot use ASAN w/shared-library code (JVM, JNI)

2014-02-27 Thread Yuri Gribov
> Would like to know how to inject ASAN code at runtime. Rebuilding the JVM > is not really feasible. AFAIK this is a feature of LLVM ASan. Here an excerpt from Clang docs: "The AddressSanitizer run-time library should be linked to the final executable, so make sure to use clang (not ld) for the

Issue 271 in address-sanitizer: cannot use ASAN w/shared-library code (JVM, JNI)

2014-02-27 Thread address-sanitizer
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 271 by wtor...@gmail.com: cannot use ASAN w/shared-library code (JVM, JNI) http://code.google.com/p/address-sanitizer/issues/detail?id=271 What steps will reproduce the problem? 1. Compile so w/-fsanitize=address 2. Run cod

Re: Issue 269 in address-sanitizer: comparison and difference on unrelated pointers

2014-02-27 Thread address-sanitizer
Comment #8 on issue 269 by konstant...@gmail.com: comparison and difference on unrelated pointers http://code.google.com/p/address-sanitizer/issues/detail?id=269 Filed a related bug for clang/llvm: http://llvm.org/bugs/show_bug.cgi?id=18989 -- You received this message because this project i