Closed ramosian-glider closed 9 years ago
Reported by konstantin.s.serebryany
on 2012-05-22 08:49:13
Also confirmed on 10.8
Reported by ramosian.glider
on 2012-10-29 14:10:36
With the introduction of the dynamic library the vmmap output now looks as:
$ vmmap 39445
Virtual Memory Map of process 39445 (t)
Output report format: 2.2 -- 64-bit process
2013-02-06 19:39:09.678 vmmap[39511:707] *** Symbolication: Couldn't load /Users/glider/src/asan-clean/llvm/llvm_cmake_build/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
to introspect target process's malloc zone named asan: dlopen(/Users/glider/src/asan-clean/llvm/llvm_cmake_build/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib,
261): Symbol not found: ___asan_mapping_offset
Referenced from: /Users/glider/src/asan-clean/llvm/llvm_cmake_build/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
Expected in: flat namespace
in /Users/glider/src/asan-clean/llvm/llvm_cmake_build/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
==== Non-writable regions for process 39445
__TEXT 000000010b564000-000000010b565000 [ 4K] r-x/rwx SM=COW ...s/glider/src/asan-clean/llvm/llvm_cmake_build/t
__LINKEDIT 000000010b566000-000000010b567000 [ 4K] r--/rwx SM=COW ...s/glider/src/asan-clean/llvm/llvm_cmake_build/t
MALLOC metadata 000000010b567000-000000010b568000 [ 4K] r--/rwx SM=PRV
__TEXT 000000010b56c000-000000010b58a000 [ 120K] r-x/rwx SM=COW ...3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
__LINKEDIT 000000010ddd4000-000000010ddeb000 [ 92K] r--/rwx SM=COW ...3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
VM_ALLOCATE 0000120000000000-0000140000000000 [ 2.0T] ---/rwx SM=NUL
...
[map follows]
I wonder if we can (or should) do something about the process not having __asan_mapping_offset.
Reported by ramosian.glider
on 2013-02-06 15:42:10
Marking this bug as WontFix with a FixLater label.
Feel free to reopen if you want to work on this.
Reported by ramosian.glider
on 2013-12-26 15:08:54
WontFix
Even better, let it be a duplicate of issue 201, since having a fallback (or retiring
__asan_mapping_offset) is everything we need.
Reported by ramosian.glider
on 2013-12-26 15:11:21
Duplicate
Adding Project:AddressSanitizer as part of GitHub migration.
Reported by ramosian.glider
on 2015-07-30 09:12:59
Originally reported on Google Code with ID 63
Reported by
ramosian.glider
on 2012-04-13 10:44:14