mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 16:29:20 +00:00
[asan] add a run-time flag detect_container_overflow=true/false
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206756 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7426771280
commit
f161a918fb
@ -155,7 +155,7 @@ static cl::opt<int> ClInstrumentationWithCallsThreshold(
|
|||||||
cl::desc("If the function being instrumented contains more than "
|
cl::desc("If the function being instrumented contains more than "
|
||||||
"this number of memory accesses, use callbacks instead of "
|
"this number of memory accesses, use callbacks instead of "
|
||||||
"inline checks (-1 means never use callbacks)."),
|
"inline checks (-1 means never use callbacks)."),
|
||||||
cl::Hidden, cl::init(-1));
|
cl::Hidden, cl::init(10000));
|
||||||
static cl::opt<std::string> ClMemoryAccessCallbackPrefix(
|
static cl::opt<std::string> ClMemoryAccessCallbackPrefix(
|
||||||
"asan-memory-access-callback-prefix",
|
"asan-memory-access-callback-prefix",
|
||||||
cl::desc("Prefix for memory access callbacks"), cl::Hidden,
|
cl::desc("Prefix for memory access callbacks"), cl::Hidden,
|
||||||
|
Loading…
Reference in New Issue
Block a user