Skip to main content
3 votes
Accepted

DLL exports same function with multiple names

It's likely just using a .def file, to define the exports e.g. // example.def LIBRARY "example" EXPORTS MyFunctionAlias1 = MyFunction MyFunctionAlias2 = MyFunction
Remko's user avatar
  • 3,273
2 votes
Accepted

Compress Xamarin assemblies after decompression

For unpacking and repacking Xamarin (and .Net MAUI as it is now called) assemblies.blob + assemblies.manifest files you can use the Python based tool Xamarin AssemblyStore Explorer (pyxamstore). ...
Robert's user avatar
  • 1,077
1 vote
Accepted

How to declare a constructor in reversed class?

A cleaner and safer(no mem leaks) solution to this problem would be: struct Game { // Define fields so that the size matches the original struct size using ConstructorT = Game*(__fastcall)...
KulaGGin's user avatar
  • 356
1 vote

Hooking a function

In the first line you define the original function pointer tSetCurrentAction() as a __thiscall. Your hook function, hSetCurrentAction is declared as __fastcall. The hook function will take the action ...
Yotamz's user avatar
  • 1,272
1 vote
Accepted

How to call unexported function in a third party DLL while having its PDB?

You have to: 1. Load the DLL into your process. In runtime, Windows' LoadLibrary api, will load the DLL and return a handle, which is the base address for the loaded module. 2. Get the address of the ...
Yotamz's user avatar
  • 1,272
1 vote

How to find the correct GUID in DLL to match its Pdb

though both portable pdb and /Brepro are recent developments post the GUID age compressed file format of pdb for your specific case the pdb does not seem to exist in ms symbol servers. :\>wget -c -...
blabb's user avatar
  • 16.4k

Only top scored, non community-wiki answers of a minimum length are eligible