Extend autotokens pass support to other unixes (#900)
This commit is contained in:
parent
ff2971068f
commit
32dc796234
@ -665,7 +665,8 @@ bool AutoTokensPass::runOnModule(Module &M) {
|
||||
ConstantDataArray::get(Ctx,
|
||||
*(new ArrayRef<char>(ptrhld.get(), offset))),
|
||||
"libafl_dictionary_" + M.getName());
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || \
|
||||
defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
dict->setSection("libafl_token");
|
||||
#elif defined(__APPLE__)
|
||||
dict->setSection("__DATA,__libafl_token");
|
||||
|
Loading…
x
Reference in New Issue
Block a user