aboutsummaryrefslogtreecommitdiff
path: root/frida_mode/ts
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-12-20 18:14:57 +0000
committerYour Name <you@example.com>2021-12-20 18:14:57 +0000
commitd59a76261db02141dae06bf804fd0f84679f0d34 (patch)
treeabe5e84e618ba5ae0a926bdd9e3a37cf2c4af4c7 /frida_mode/ts
parentdb19116ce692a7a317ee3e0f4a553f754465eb47 (diff)
downloadafl++-d59a76261db02141dae06bf804fd0f84679f0d34.tar.gz
Improvements to debug output
Diffstat (limited to 'frida_mode/ts')
-rw-r--r--frida_mode/ts/lib/afl.ts14
1 files changed, 13 insertions, 1 deletions
diff --git a/frida_mode/ts/lib/afl.ts b/frida_mode/ts/lib/afl.ts
index 0473cbf6..57d7b5b5 100644
--- a/frida_mode/ts/lib/afl.ts
+++ b/frida_mode/ts/lib/afl.ts
@@ -78,7 +78,7 @@ class Afl {
}
/**
- * See `AFL_FRIDA_INST_NO_BACKPATCH`.
+ * See `AFL_FRIDA_STALKER_NO_BACKPATCH`.
*/
public static setBackpatchDisable(): void {
Afl.jsApiSetBackpatchDisable();
@@ -313,6 +313,13 @@ class Afl {
Afl.jsApiSetTraceable();
}
+ /**
+ * See `AFL_FRIDA_VERBOSE`
+ */
+ public static setVerbose(): void {
+ Afl.jsApiSetVerbose();
+ }
+
private static readonly jsApiAddExcludeRange = Afl.jsApiGetFunction(
"js_api_add_exclude_range",
"void",
@@ -480,6 +487,11 @@ class Afl {
"void",
[]);
+ private static readonly jsApiSetVerbose = Afl.jsApiGetFunction(
+ "js_api_set_verbose",
+ "void",
+ []);
+
private static readonly jsApiWrite = new NativeFunction(
/* tslint:disable-next-line:no-null-keyword */
Module.getExportByName(null, "write"),