summaryrefslogtreecommitdiffstats
path: root/src/pdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdb.c')
-rw-r--r--src/pdb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pdb.c b/src/pdb.c
index 7f37c34..0d6617a 100644
--- a/src/pdb.c
+++ b/src/pdb.c
@@ -1,5 +1,10 @@
+#include "pdb.h"
+
+#include <strsafe.h>
#include "cvinfo.h"
+#include "utils.h"
+
enum STREAM_INDEX {
OLD_DIRECTORY,
PDB,
@@ -8,6 +13,9 @@ enum STREAM_INDEX {
IPI,
};
+extern u8* string_stack_base;
+extern u8* string_stack_current;
+
void open_pdb(const char* pdb_path, struct module* module) {
HANDLE pdb_file = CreateFileA(pdb_path, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);