mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-09-29 02:07:59 +03:00
14 lines
395 B
C
14 lines
395 B
C
#include <sys/types.h>
|
|
|
|
int initPatch();
|
|
void setVariable(size_t address, size_t value);
|
|
void patchMemory(size_t address, char *value);
|
|
void detourFunction(size_t address, void *function);
|
|
void replaceCallAtAddress(size_t address, void *function);
|
|
void stubReturn();
|
|
int stubRetOne();
|
|
int stubRetMinusOne();
|
|
char stubRetZeroChar();
|
|
|
|
int patchedPrintf(char *format,...);
|
|
int patchedPuts(char *s); |