mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 04:38:08 +00:00
Added instrumentation for CMOV instructions
This commit is contained in:
@ -149,6 +149,13 @@ class Afl {
|
||||
Afl.jsApiSetInstrumentLibraries();
|
||||
}
|
||||
|
||||
/**
|
||||
* See `AFL_FRIDA_INST_NO_INSN`
|
||||
*/
|
||||
public static setInstrumentNoInstructions(): void {
|
||||
Afl.jsApiSetInstrumentNoInstructions();
|
||||
}
|
||||
|
||||
/**
|
||||
* See `AFL_FRIDA_INST_NO_OPTIMIZE`
|
||||
*/
|
||||
@ -377,6 +384,11 @@ 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