mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
[lib/Fuzzer] remove the -dfsan=1 flag, just use -use_traces=1 (w/ or w/o dfsan)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -325,11 +325,11 @@ void Fuzzer::ApplyTraceBasedMutation(size_t Idx, Unit *U) {
|
||||
}
|
||||
|
||||
void Fuzzer::InitializeTraceState() {
|
||||
if (!Options.UseTraces && !Options.UseDFSan) return;
|
||||
if (!Options.UseTraces) return;
|
||||
TS = new TraceState(Options, CurrentUnit);
|
||||
CurrentUnit.resize(Options.MaxLen);
|
||||
// The rest really requires DFSan.
|
||||
if (!ReallyHaveDFSan() || !Options.UseDFSan) return;
|
||||
if (!ReallyHaveDFSan()) return;
|
||||
for (size_t i = 0; i < static_cast<size_t>(Options.MaxLen); i++) {
|
||||
dfsan_label L = dfsan_create_label("input", (void*)(i + 1));
|
||||
// We assume that no one else has called dfsan_create_label before.
|
||||
|
Reference in New Issue
Block a user