Skip to content

Commit

Permalink
bind
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jun 19, 2024
1 parent e8cdc73 commit be54d98
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 28 deletions.
46 changes: 35 additions & 11 deletions gengo/bind/ARImpRec/ARImpRec.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,45 @@
__declspec(dllexport) void UnpackPdataSection();
#include <stdint.h>

__declspec(dllexport) void GetNameFileOptimized();
__declspec(dllexport) int __stdcall UnpackPdataSection(char *MSNameOfProtected, char *MSNameOfDumped, char *MSWarning);

__declspec(dllexport) void RebuildSectionsFromArmadillo();
__declspec(dllexport) int __stdcall GetNameFileOptimized(char *MSFileNameOrig, char *MSFileNameOptimized);

__declspec(dllexport) void TryGetImportedFunction();
__declspec(dllexport) int
__stdcall RebuildSectionsFromArmadillo(char *MSNameOfProtected, char *MSNameOfDumped, char *MSWarning);

__declspec(dllexport) void SearchAndRebuildImportsNoNewSection();
__declspec(dllexport) int
__stdcall TryGetImportedFunction(uint32_t IRProcessId, uint32_t IRVAddress, uint32_t IROrdinal, uint32_t *IRHint,
char *IRFunctionName, char *IRModule);

__declspec(dllexport) void SearchAndRebuildImportsIATOptimized();
__declspec(dllexport) int
__stdcall SearchAndRebuildImportsNoNewSection(uint32_t IRProcessId, char *IRNameOfDumped, uint32_t IROEP,
uint32_t IRSaveOEPToFile, uint32_t *IRIATRVA, uint32_t *IRIATSize,
char *IRWarning);

__declspec(dllexport) void SearchAndRebuildImports();
__declspec(dllexport) int
__stdcall SearchAndRebuildImportsIATOptimized(uint32_t IRProcessId, char *IRNameOfDumped, uint32_t IROEP,
uint32_t IRSaveOEPToFile, uint32_t *IRIATRVA, uint32_t *IRIATSize,
char *IRWarning);

__declspec(dllexport) void GetProcNameAndOrdinal();
__declspec(dllexport) int
__stdcall SearchAndRebuildImports(uint32_t IRProcessId, char *IRNameOfDumped, uint32_t IROEP, uint32_t IRSaveOEPToFile,
uint32_t *IRIATRVA, uint32_t *IRIATSize, char *IRWarning);

__declspec(dllexport) void GetProcOrdinal();
__declspec(dllexport) int
__stdcall GetProcNameAndOrdinal(uint32_t IRHModule, uint32_t IRAddress, uint32_t *IROrdinal, uint32_t *IRHint,
char *IRProcName);

__declspec(dllexport) void GetProcName();
__declspec(dllexport) uint32_t __stdcall GetProcOrdinal(uint32_t IRHModule, uint32_t IRAddress);

__declspec(dllexport) void GetAllVAddressesOfImports();
__declspec(dllexport) int
__stdcall GetProcName(uint32_t IRHModule, uint32_t IRAddress, uint32_t *IRHInt, char *IRProcName);

__declspec(dllexport) void GetAllVAddressesOfImports();//todo








11 changes: 0 additions & 11 deletions gengo/bind/ARImpRec/ARImpRec.h.bak

This file was deleted.

6 changes: 0 additions & 6 deletions gengo/bind/ARImpRec/CMakeLists.txt

This file was deleted.

0 comments on commit be54d98

Please sign in to comment.