Open GoogleCodeExporter opened 9 years ago
Original comment by gli...@chromium.org
on 19 Jul 2013 at 3:33
FYI I'm having a similar issue when building an iOS app + ASAN for the 64-bit
iOS simulator 7.0.
Original comment by mathieu....@gmail.com
on 19 Dec 2013 at 8:22
Mathieu, is that a 32-bit iOS app on top of a 64-bit iOS simulator? I'd be
surprised to see shadow memory overlapping for a 64-bit app.
Original comment by ramosian.glider@gmail.com
on 24 Dec 2013 at 8:53
Yes actually the app is still using 32bits pointers when run in the
64bit-simulator. Sorry :)
Original comment by mathieu....@gmail.com
on 9 Jan 2014 at 8:54
Mathieu and I came up with a solution for this. Solution is simply moving the
shadow address range
from: 0x20000000 - 0x40000000
to: 0x40000000 - 0x60000000
for 32bit Mac OS X binaries. I'm attaching the patch that helped us. To patch
the actual code base we need the new constant managed by macros etc. though. So
it'd be great if someone from project maintainers could advise us.
Note1: We had ASLR turned off during our testing.
Note2: We also had to turn globals check off since when it's on it's creating
false positives and we're unable to run the process in a meaningful way. Is
this a known issue?
Original comment by tahabeki...@gmail.com
on 7 Mar 2014 at 9:20
Attachments:
I've landed the patch changing the shadow memory mapping for iOS as you propose
(r207002), this seems to help.
On a second thought we might really need the same change for 32-bit OSX, I'll
test and submit it tommorrow.
Original comment by ramosian.glider@gmail.com
on 23 Apr 2014 at 5:28
Issue 38 has been merged into this issue.
Original comment by ramosian.glider@gmail.com
on 7 May 2014 at 9:02
For the record the OSX bits haven't been submitted. Still unclear whether we
need them.
Original comment by ramosian.glider@gmail.com
on 24 Jun 2014 at 1:32
Original comment by ramosian.glider@gmail.com
on 30 Jul 2015 at 9:05
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
ramosian.glider@gmail.com
on 19 Jul 2013 at 3:28