about summary refs log tree commit diff
path: root/frida_mode/include/instrument.h
blob: 1b6c6bba95fdbcda3994fefc97d8d0d3bc8ecf6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "frida-gum.h"

#include "config.h"

extern uint64_t __thread previous_pc;
extern uint8_t *__afl_area_ptr;
extern uint32_t __afl_map_size;

void instrument_init(void);

GumStalkerTransformer *instrument_get_transformer(void);

/* Functions to be implemented by the different architectures */
gboolean instrument_is_coverage_optimize_supported(void);

void instrument_coverage_optimize(const cs_insn *   instr,
                                  GumStalkerOutput *output);