Skip to content

[question]how can i rebuild the libclang_rt.asan-*.so library found in the NDK? #1432

Closed
@dentiscalprum

Description

@dentiscalprum

https://android.googlesource.com/toolchain/llvm_android/+/master/README.md
I used method in this website and find in out/install

❯ find ./ -name "*asan*"
.//darwin-x86/clang-dev/lib64/clang/12.0.1/include/sanitizer/asan_interface.h
.//darwin-x86/clang-dev/lib64/clang/12.0.1/include/sanitizer/hwasan_interface.h
.//darwin-x86/clang-dev/lib64/clang/12.0.1/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
.//darwin-x86/clang-dev/lib64/clang/12.0.1/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
.//darwin-x86/clang-dev/lib64/clang/12.0.1/lib/darwin/libclang_rt.asan_ios_dynamic.dylib
.//darwin-x86/clang-dev/lib64/clang/12.0.1/share/asan_blacklist.txt

I did't find  libclang_rt.asan-*.so, did i fail to build?
(I want to modify some function in addressSanitizer)
thx!!!

If i build successfully, what should i do to use these function which i modify?
for example, move some file to ndk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions