diff options
| author | van Hauser <vh@thc.org> | 2022-07-29 22:50:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-29 22:50:25 +0200 |
| commit | d745da0c93a650785411a7cf05b67174a0ef4544 (patch) | |
| tree | 7a75e7d5ab8848731981bf248dd59832cd7983ba /frida_mode/include/instrument.h | |
| parent | c6af98bc355dbd828e2e6b332ab743a6c2f4ce4c (diff) | |
| parent | 4fdd64d6d6ca98145873057115d059704a79aeeb (diff) | |
| download | afl++-d745da0c93a650785411a7cf05b67174a0ef4544.tar.gz | |
Merge pull request #1484 from WorksButNotTested/regs
Regs
Diffstat (limited to 'frida_mode/include/instrument.h')
| -rw-r--r-- | frida_mode/include/instrument.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frida_mode/include/instrument.h b/frida_mode/include/instrument.h index cd480202..b85aa571 100644 --- a/frida_mode/include/instrument.h +++ b/frida_mode/include/instrument.h @@ -13,6 +13,7 @@ extern gboolean instrument_unique; extern guint64 instrument_hash_zero; extern char *instrument_coverage_unstable_filename; extern gboolean instrument_coverage_insn; +extern char * instrument_regs_filename; extern gboolean instrument_use_fixed_seed; extern guint64 instrument_fixed_seed; @@ -66,6 +67,8 @@ void instrument_cache_config(void); void instrument_cache_init(void); void instrument_cache_insert(gpointer real_address, gpointer code_address); void instrument_cache(const cs_insn *instr, GumStalkerOutput *output); +void instrument_write_regs(GumCpuContext *cpu_context, gpointer user_data); +void instrument_regs_format(int fd, char *format, ...); #endif |
