diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-10-27 22:54:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-10-27 22:54:30 (GMT) |
commit | ce27af7f442d1fa580311eac83bc44d7db4e0d05 (patch) | |
tree | 64a897f76e84ef401a0d5987eb56422e95606b09 /plugins/pychrysalide/format/executable.h | |
parent | 7932fbf156fc357139638a342a46189450f7f484 (diff) |
Accepted integer values as usable addresses for some Python bindings.
Diffstat (limited to 'plugins/pychrysalide/format/executable.h')
-rw-r--r-- | plugins/pychrysalide/format/executable.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/pychrysalide/format/executable.h b/plugins/pychrysalide/format/executable.h index 8a952cd..d2308e0 100644 --- a/plugins/pychrysalide/format/executable.h +++ b/plugins/pychrysalide/format/executable.h @@ -30,6 +30,12 @@ #include <stdbool.h> +#include <format/executable.h> + + + +/* ------------------------ DECLARATION DE FORMAT EXECUTABLE ------------------------ */ + /* Fournit un accès à une définition de type à diffuser. */ PyTypeObject *get_python_executable_format_type(void); @@ -39,4 +45,23 @@ bool ensure_python_executable_format_is_registered(void); +/* ---------------------------- TRADUCTION D'EMPLACEMENT ---------------------------- */ + + +/* Informations utiles à une traduction */ +typedef struct _exe_cv_info_t +{ + GExeFormat *format; /* Eventuel format indiqué */ + vmpa2t *vmpa; /* Emplacement à définir */ + + vmpa2t tmp; /* Eventuel stockage temporaire*/ + +} exe_cv_info_t; + + +/* Réalise une conversion d'un objet Python en localisation. */ +int convert_to_vmpa_using_executable(PyObject *, exe_cv_info_t *); + + + #endif /* _PLUGINS_PYCHRYSALIDE_FORMAT_EXECUTABLE_H */ |