mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 04:38:08 +00:00
Changes to default CMOV instrumentation to off
This commit is contained in:
@ -135,6 +135,13 @@ class Afl {
|
||||
Afl.jsApiSetInstrumentTrace();
|
||||
}
|
||||
|
||||
/**
|
||||
* See `AFL_FRIDA_INST_INSN`
|
||||
*/
|
||||
public static setInstrumentInstructions(): void {
|
||||
Afl.jsApiSetInstrumentInstructions();
|
||||
}
|
||||
|
||||
/**
|
||||
* See `AFL_FRIDA_INST_JIT`.
|
||||
*/
|
||||
@ -149,13 +156,6 @@ class Afl {
|
||||
Afl.jsApiSetInstrumentLibraries();
|
||||
}
|
||||
|
||||
/**
|
||||
* See `AFL_FRIDA_INST_NO_INSN`
|
||||
*/
|
||||
public static setInstrumentNoInstructions(): void {
|
||||
Afl.jsApiSetInstrumentNoInstructions();
|
||||
}
|
||||
|
||||
/**
|
||||
* See `AFL_FRIDA_INST_NO_OPTIMIZE`
|
||||
*/
|
||||
@ -374,6 +374,11 @@ class Afl {
|
||||
"void",
|
||||
["pointer"]);
|
||||
|
||||
private static readonly jsApiSetInstrumentInstructions = Afl.jsApiGetFunction(
|
||||
"js_api_set_instrument_instructions",
|
||||
"void",
|
||||
[]);
|
||||
|
||||
private static readonly jsApiSetInstrumentJit = Afl.jsApiGetFunction(
|
||||
"js_api_set_instrument_jit",
|
||||
"void",
|
||||
@ -384,11 +389,6 @@ class Afl {
|
||||
"void",
|
||||
[]);
|
||||
|
||||
private static readonly jsApiSetInstrumentNoInstructions = Afl.jsApiGetFunction(
|
||||
"js_api_set_instrument_no_instructions",
|
||||
"void",
|
||||
[]);
|
||||
|
||||
private static readonly jsApiSetInstrumentNoOptimize = Afl.jsApiGetFunction(
|
||||
"js_api_set_instrument_no_optimize",
|
||||
"void",
|
||||
|
Reference in New Issue
Block a user