mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
27 lines
649 B
C
27 lines
649 B
C
#ifndef _JS_H
|
|
#define _JS_H
|
|
|
|
#include "frida-gumjs.h"
|
|
|
|
typedef gboolean (*js_api_stalker_callback_t)(const cs_insn *insn,
|
|
gboolean begin, gboolean excluded,
|
|
GumStalkerOutput *output);
|
|
|
|
extern unsigned char api_js[];
|
|
extern unsigned int api_js_len;
|
|
|
|
extern gboolean js_done;
|
|
extern js_api_stalker_callback_t js_user_callback;
|
|
|
|
/* Frida Mode */
|
|
|
|
void js_config(void);
|
|
|
|
void js_start(void);
|
|
|
|
gboolean js_stalker_callback(const cs_insn *insn, gboolean begin,
|
|
gboolean excluded, GumStalkerOutput *output);
|
|
|
|
#endif
|
|
|