Add basic function to get shared library information.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe
2016-12-20 20:13:24 +00:00
parent 9e5f1b6ad9
commit 8483f9b724
2 changed files with 55 additions and 0 deletions

6
src/Utilities/Linker.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
namespace Linker {
// Iterate loaded shared libraries and optionally return base address and size.
bool GetLibraryInformation(const char*, uintptr_t* = nullptr, size_t* = nullptr);
}