summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2018-02-15Add NetBSD syscall hooks skeleton in sanitizersKamil Rytarowski
Summary: Implement the skeleton of NetBSD syscall hooks for use with sanitizers. Add a script that generates the rules to handle syscalls on NetBSD: generate_netbsd_syscalls.awk. It has been written in NetBSD awk(1) (patched nawk) and is compatible with gawk. Generate lib/sanitizer_common/sanitizer_platform_limits_netbsd.h that is a public header for applications, and included as: <sanitizer_common/sanitizer_platform_limits_netbsd.h>. Generate sanitizer_syscalls_netbsd.inc that defines all the syscall rules for NetBSD. This file is modeled after the Linux specific file: sanitizer_common_syscalls.inc. Start recognizing NetBSD syscalls with existing sanitizers: ASan, ESan, HWASan, TSan, MSan. Sponsored by <The NetBSD Foundation> Reviewers: joerg, vitalybuka, kcc, dvyukov, eugenis Reviewed By: vitalybuka Subscribers: hintonda, kubamracek, mgorny, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D42048 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@325206 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-12[ASan] Remove llvm-symbolizer from compiler-rt/utils/Alexander Potapenko
This is the first (1/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167722 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-08llvm-symbolizer for Mac: add support for reading DWARF from separate object ↵Alexey Samsonov
file in resource directory generated by dsymutil. Fix minor symbol table lookup issues. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165389 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-21[Sanitizer] llvm-symbolizer: enable accessing symbol table (libObject is ↵Alexey Samsonov
fixed in r164365) and replace string with std::string git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164367 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-18[Sanitizer] llvm-symbolizer: turn off symbol table lookup by default while ↵Alexey Samsonov
getSymbolAddress from libObject returns wrong values git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164113 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-07[Sanitizer] add --demangle option to llvm-symbolizer (for now just assume ↵Alexey Samsonov
that __cxa_demangle option is available) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163376 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-04[compiler-rt] Recurse into 'utils' directory in CMake build of compiler-rt, ↵Alexey Samsonov
enable build of llvm-symbolizer binary (currently for one target only) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163138 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-04[Sanitizer] llvm-symbolizer util: make it more conforming to LLVM code ↵Alexey Samsonov
style, and support fetching inlining info git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163133 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-31[compiler-rt] fixup for r162988 - remove accidentally commited fileAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162989 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-31[compiler-rt] Move draft code for llvm-symbolizer to ↵Alexey Samsonov
compiler-rt/utils/llvm-symbolizer after chandlerc's suggestion git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162988 91177308-0d34-0410-b5e6-96231b3b80d8