search for: sanitizer_linux

Displaying 10 results from an estimated 10 matches for "sanitizer_linux".

2018 Mar 20
0
r327904 / 5c4cd77db3a08587c6ac82a8e2c92cd4be0bc200 broke compiler-rt master
...seems that r327904 / 5c4cd77db3a08587c6ac82a8e2c92cd4be0bc200 broke master on FreeBSD: A direct revert fixes the issue. I'd also be happy with an ifdef though it seems unnecessary. $uname -rms FreeBSD 12.0-CURRENT amd64 $ninja ... /srv/src/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:504:25: error: no member named 'environ' in the global namespace; did you mean '_environ'? for (char **Env = ::environ; *Env != 0; Env++) { ~~^~~~~~~ _environ /srv/src/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_...
2014 Jun 10
4
[LLVMdev] use of undeclared identifier '__NR_*' error while building clang
...clang_darwin.mk: dropping arch 'x86_64h' from lib 'ubsan_osx' (ld does not support it) make[5]: Entering directory `/home/sandeep/llvm_clang/llvm/projects/compiler-rt' COMPILE: clang_linux/san-i386/i386: /home/sandeep/llvm_clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc /home/sandeep/llvm_clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:123:27: error: use of undeclared identifier '__NR_open' return internal_syscall(SYSCALL(open), (uptr)filename, flags); ^ /home/sandeep/llvm_clang/llvm/projects/compiler-...
2012 Jun 06
2
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
...clang" are represent an error as below. > > make[5]: Entering directory > `/san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt' > COMPILE: clang_linux/asan-x86_64/x86_64: > /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc > /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:47:36: > error: use of > undeclared identifier 'O_CLOEXEC' > write ? O_WRONLY | O_CREAT | O_CLOEXEC : O_RDONLY, > 0660);...
2012 Jun 06
0
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
...error as below. >> > > >> make[5]: Entering directory >> `/san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt' >> COMPILE: clang_linux/asan-x86_64/x86_64: >> /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc >> /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:47:36: >> error: use of >> undeclared identifier 'O_CLOEXEC' >> write ? O_WRONLY | O_CREAT | O_CLOEXEC : O_RDONLY, >> 0660);...
2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
....h b/lib/msan/msan.h index be74f6e..10b5b05 100644 --- a/lib/msan/msan.h +++ b/lib/msan/msan.h @@ -147,6 +147,26 @@ const MappingDesc kMemoryLayout[] = { #define MEM_TO_SHADOW(mem) (LINEARIZE_MEM((mem)) + 0x100000000000ULL) #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x280000000000) +#elif SANITIZER_LINUX && SANITIZER_WORDSIZE == 32 + +const MappingDesc kMemoryLayout[] = { + {0x00000000ULL, 0x10000000ULL, MappingDesc::APP, "app-1"}, + {0x10000000ULL, 0x20000000ULL, MappingDesc::SHADOW, "shadow-1"}, + {0x20000000ULL, 0x30000000ULL, MappingDesc::ORIGIN, "origi...
2020 Feb 28
2
Demotion of shared symbols resolved from the dynamic linker.
...ned weak symbol when linking with LLD but not when linking (with the exact same command/input) with other linkers. Tracing the symbol I see it is resolved to a definition in the dynamic linker as expected: /home/sfertile/LLVM_MonoRepo/build/lib/clang/11.0.0/lib/linux/libclang_rt.asan-powerpc64le.a(sanitizer_linux.cpp.o): reference to __libc_stack_end /lib/powerpc64le-linux-gnu/libpthread.so.0: reference to __libc_stack_end /lib/powerpc64le-linux-gnu/ld64.so.2: shared definition of __libc_stack_end <internal>: reference to __libc_stack_end The last line in the trace output shows where we demote the sh...
2012 Jun 06
0
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
...ision 158057. ) and "clang" are represent an error as below. make[5]: Entering directory `/san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt' COMPILE: clang_linux/asan-x86_64/x86_64: /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:47:36: error: use of undeclared identifier 'O_CLOEXEC' write ? O_WRONLY | O_CREAT | O_CLOEXEC : O_RDONLY, 0660); ^ 1 error generated. Who...
2016 Jul 13
2
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Wed, Jul 13, 2016 at 04:48:51PM +0200, Sedat Dilek via llvm-dev wrote: > [ CCed all people who were involved in this thread ] > > Hi Tom, > > personally, I am interested to test the prebuilt-toolchains for > Ubuntu/xenial alias 16.04 LTS and Debian/Jessie v8.5.0 AMD64. > The available toolchains are incomplete and thus useless. > > Just as a fact: There is still no
2015 Aug 11
3
libfuzzer questions
First off, thanks -- this is a pretty great library and it feels like I'm learning a lot. I'm getting some more experience with libfuzzer and finding that I have a couple of questions: - How does libfuzzer decide to write a new test file? What distinguishes this one from all the other cases for which new test inputs were not written? Must be something about the path taken through the
2015 Aug 11
3
libfuzzer questions
...next part -------------- #0 atomic_exchange<__sanitizer::atomic_uint32_t> (mo=__sanitizer::memory_order_acquire, v=2, a=0x640000001290) #1 __sanitizer::BlockingMutex::Lock (this=this at entry=0x640000001290) at /home/brian/tmp/testing/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:471 #2 0x0000000000447899 in GenericScopedLock (mu=mu at entry=0x640000001290, this=<synthetic pointer>) #3 __sanitizer::SizeClassAllocator64<105553116266496ul, 4398046511104ul, 0ul, __sanitizer::SizeClassMap<17ul, 128ul, 16ul>, __asan::AsanMapUnmapCallback>::PopulateFreeList...