Added instrumentation for CMOV instructions

This commit is contained in:
Your Name
2022-02-18 07:55:45 +00:00
parent dd8ad4dfa3
commit cb1256499f
15 changed files with 457 additions and 28 deletions

View File

@ -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",