This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text; | |
using AsmResolver; | |
using AsmResolver.DotNet; | |
using AsmResolver.DotNet.Builder.Metadata.Blob; | |
using AsmResolver.DotNet.Builder.Metadata.Strings; | |
using AsmResolver.DotNet.Code.Cil; | |
using AsmResolver.DotNet.Signatures; | |
using AsmResolver.IO; | |
using AsmResolver.PE; | |
using AsmResolver.PE.DotNet.Builder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <windows.h> | |
VOID WINAPI TlsCallback(PVOID DllHandle, DWORD Reason, PVOID Reserved) | |
{ | |
puts("[DynamicLibrary.dll]: TLS Callback"); | |
} | |
#ifdef _WIN64 | |
#pragma comment (linker, "/INCLUDE:_tls_used") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using AsmResolver; | |
using AsmResolver.PE; | |
using AsmResolver.PE.Code; | |
using AsmResolver.PE.File; | |
using AsmResolver.PE.File.Headers; | |
using AsmResolver.PE.Imports; | |
using AsmResolver.PE.Imports.Builder; | |
using AsmResolver.PE.Platforms; | |
using AsmResolver.PE.Relocations; | |
using AsmResolver.PE.Relocations.Builder; |