forked from android-rooting-tools/libpingpong_exploit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpingpong.h
More file actions
17 lines (11 loc) · 642 Bytes
/
Copy pathpingpong.h
File metadata and controls
17 lines (11 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef PINGPONG_H
#define PINGPONG_H
#include <stdbool.h>
#define PINGPONG_MAX_REQUEST_COUNT 1024
extern bool pingpong_read_value_at_address(unsigned long address, int *value);
extern bool pingpong_read_values_at_address(unsigned long address, int *values, int count);
extern bool pingpong_write_value_at_address(unsigned long address, int value);
extern bool pingpong_write_values_at_address(unsigned long address, const int *values, int count);
extern bool pingpong_run_exploit(unsigned long int address, int value,
bool(*exploit_callback)(void* user_data), void *user_data);
#endif /* PINGPONG_H */