mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-10-14 01:49:12 +03:00
15 lines
475 B
C
15 lines
475 B
C
#pragma once
|
|
|
|
#include <stdio.h>
|
|
|
|
void setVariable(size_t address, size_t value);
|
|
void patchMemoryFromString(size_t address, char *value);
|
|
void detourFunction(size_t address, void *function);
|
|
void replaceCallAtAddress(size_t address, void *function);
|
|
void stubReturn();
|
|
int stubRetZero();
|
|
int stubRetOne();
|
|
int stubRetMinusOne();
|
|
char stubRetZeroChar();
|
|
void *trampolineHook(void *target, void *replacement, size_t saveSize);
|
|
void *findStaticFnAddr(const char *functionName); |