diff options
author | midipix <writeonce@midipix.org> | 2017-12-18 12:22:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-12-18 15:35:27 -0500 |
commit | c6d46cf97304d829fba6085544aab577be3c6249 (patch) | |
tree | b8760f4c428692358872ebe0cb4cf2f7564e162c /include | |
parent | 29ad40d41f536ee1a272d12e9762e96a2acadff6 (diff) | |
download | pemagine-c6d46cf97304d829fba6085544aab577be3c6249.tar.bz2 pemagine-c6d46cf97304d829fba6085544aab577be3c6249.tar.xz |
pe_get_ldr_entry_from_addr(): initial implementation.
Diffstat (limited to 'include')
-rw-r--r-- | include/pemagine/pe_ldso.h | 1 | ||||
-rw-r--r-- | include/pemagine/pemagine.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/pemagine/pe_ldso.h b/include/pemagine/pe_ldso.h index 2d81774..30019c5 100644 --- a/include/pemagine/pe_ldso.h +++ b/include/pemagine/pe_ldso.h @@ -12,6 +12,7 @@ #define pe_get_export_symbol_info __ldso_get_export_symbol_info #define pe_get_first_module_handle __ldso_get_first_module_handle #define pe_get_framework_runtime_data __ldso_get_framework_runtime_data +#define pe_get_ldr_entry_from_addr __ldso_get_ldr_entry_from_addr #define pe_get_image_coff_hdr_addr __ldso_get_image_coff_hdr_addr #define pe_get_image_data_dirs_addr __ldso_get_image_data_dirs_addr #define pe_get_image_dos_hdr_addr __ldso_get_image_dos_hdr_addr diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h index 283d579..99ba86a 100644 --- a/include/pemagine/pemagine.h +++ b/include/pemagine/pemagine.h @@ -241,6 +241,8 @@ pe_api void * pe_get_kernel32_module_handle (void); /* ldso */ pe_api wchar16_t * pe_get_peb_command_line(void); pe_api wchar16_t * pe_get_peb_environment_block(void); +pe_api struct pe_ldr_tbl_entry * pe_get_ldr_entry_from_addr(const void * addr); + pe_api int32_t pe_get_framework_runtime_data( struct pe_framework_runtime_data ** rtdata, |