diff options
| author | van Hauser <vh@thc.org> | 2022-08-03 11:08:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-03 11:08:10 +0200 |
| commit | a2f3c3ee519c19935039d1fe1e8b77cdc32fa375 (patch) | |
| tree | 3a0007a3e8a07b58c4bef927d9c52e0043aa8466 /frida_mode/Scripting.md | |
| parent | c57988e672634ee98048eba6432cc1f4e377e07c (diff) | |
| parent | 6056d4b140f0665c6a701cada9166379be3435ac (diff) | |
| download | afl++-a2f3c3ee519c19935039d1fe1e8b77cdc32fa375.tar.gz | |
Merge pull request #1478 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'frida_mode/Scripting.md')
| -rw-r--r-- | frida_mode/Scripting.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/frida_mode/Scripting.md b/frida_mode/Scripting.md index 8634860b..2b18e200 100644 --- a/frida_mode/Scripting.md +++ b/frida_mode/Scripting.md @@ -850,6 +850,14 @@ class Afl { static setInstrumentNoOptimize() { Afl.jsApiSetInstrumentNoOptimize(); } + /** + * See `AFL_FRIDA_INST_REGS_FILE`. This function takes a single `string` as + * an argument. + */ + public static setInstrumentRegsFile(file: string): void { + const buf = Memory.allocUtf8String(file); + Afl.jsApiSetInstrumentRegsFile(buf); + } /* * See `AFL_FRIDA_INST_SEED` */ |
