This is the mail archive of the
mailing list for the GCC project.
libsanitizer and qemu compatibility
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 13 Feb 2013 17:42:37 +0100
- Subject: libsanitizer and qemu compatibility
I am working on enabing libsanitizer on ARM.
I have a very simple patch to enable it, and a sample program seems to
work on board.
However, I would like to use qemu as an execution engine, but I get
error messages from libsanitizer at startup:==30022== Shadow memory
range interleaves with an existing memory mapping. ASan cannot proceed
** shadow start 0x1ffff000 shadow_end 0x3fffffff
==30022== Process memory map follows:
[many others follow, belonging to libgcc_s.so, libm.so, libstdc++.so,
libdl,so, libpthread.so, libc.so and libasan.so, and some with no
So I have a probably very naive question: can libsanitizer work under
qemu (linux-user mode)?
What should I change?
[I have already modified qemu's output of /proc/self/maps to add a
space character after the last number if there is no filename, to
avoid parsing errors from libsanitizer].