Open GoogleCodeExporter opened 9 years ago
yes, this is known.
We do not plan any fix (no easy one is seen)
Original comment by konstant...@gmail.com
on 23 Mar 2015 at 7:32
Thanks for clarifying.
Original comment by chrhaus...@googlemail.com
on 23 Mar 2015 at 7:37
We can insert dummy globals in asan_preinit.o and build it with
-fsanitize=address. This would only work for executables though.
Original comment by tetra20...@gmail.com
on 24 Mar 2015 at 7:06
I don't think there is any guarantee that globals from asan_preinit.o will
appear at the start of .bss/.data.
Original comment by euge...@google.com
on 30 Mar 2015 at 10:51
I thought linker arranges file data in the order they appear on cmdline.
Original comment by tetra20...@gmail.com
on 30 Mar 2015 at 11:00
With -fdata-sections and linker GC it may not be as simple as that.
But I guess in most cases (if not always, with the _current_ linker
implementation) it will be at the start of the output section. In any case, a
dummy global won't hurt.
Original comment by euge...@google.com
on 30 Mar 2015 at 11:04
Adding Project:AddressSanitizer as part of GitHub migration.
Original comment by ramosian.glider@gmail.com
on 30 Jul 2015 at 9:06
Original issue reported on code.google.com by
chrhaus...@googlemail.com
on 23 Mar 2015 at 6:56