mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 04:38:08 +00:00
Fix issues with Yama restrictions in FRIDA mode
This commit is contained in:
@ -284,6 +284,13 @@ class Afl {
|
||||
Afl.jsApiSetStdOut(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* See `AFL_FRIDA_TRACEABLE`.
|
||||
*/
|
||||
public static setTraceable(): void {
|
||||
Afl.jsApiSetTraceable();
|
||||
}
|
||||
|
||||
private static readonly jsApiAddExcludeRange = Afl.jsApiGetFunction(
|
||||
"js_api_add_exclude_range",
|
||||
"void",
|
||||
@ -431,6 +438,11 @@ class Afl {
|
||||
"void",
|
||||
["pointer"]);
|
||||
|
||||
private static readonly jsApiSetTraceable = Afl.jsApiGetFunction(
|
||||
"js_api_set_traceable",
|
||||
"void",
|
||||
[]);
|
||||
|
||||
private static readonly jsApiWrite = new NativeFunction(
|
||||
/* tslint:disable-next-line:no-null-keyword */
|
||||
Module.getExportByName(null, "write"),
|
||||
|
Reference in New Issue
Block a user