google / sanitizers

AddressSanitizer, ThreadSanitizer, MemorySanitizer
Other
11.46k stars 1.03k forks source link

Call Stack not Coming for heap-use-after-free #962

Open PrasenjitMadhu opened 6 years ago

PrasenjitMadhu commented 6 years ago

Hi All I am not able to get Stack Frame for heap-use-after-free

Logs - 01-02 12:45:10.854 6126 6248 I : ==6126==ERROR: AddressSanitizer: heap-use-after-free on address 0xeab34aa4 at pc 0xeff3d834 bp 0xc21406c8 sp 0xc2140294 01-02 12:45:10.854 6126 6248 I : 01-02 12:45:10.854 6126 6248 I : 01-02 12:45:10.854 6126 6248 I : READ of size 32 at 0xeab34aa4 thread T41 (HwBinder:6126_4) 01-02 12:45:10.855 6126 6248 I :

I want to put additinal prints in asan_report.cc and debug but unable to do that. But my code is not getting included in below library. libclang_rt.asan-aarch64-android.so libclang_rt.asan-arm-android.so

Anybody can help here ?

kcc commented 6 years ago

@PrasenjitMadhu, you may want to provide more details (the exact version of OS, compiler, test case, etc),