summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-08-15perk.h: eliminate #include's of referential headers.midipix22-0/+38
The primary purpose of this commit is to eliminate the pulling in of definitions not strictly needed by perk.h. In particular, perk.h does not require any of the PE constants to be defined, and only refers to the raw PE structs by pointer. The secondary purpose of this commit is to allow for inclusion of perk.h by software that already comes with its own set of PE const and struct definitions.
2019-08-15pe_get_driver_ctx(): eliminate implicit fall-through in case statement.midipix1-0/+1
2019-07-07pe_read_import_lookup(): fix typo (size of ordinal field is 16 bits, not 15).midipix1-1/+1
2019-07-07pe_get_image_meta(): fix (cross-size/platform) logic for reading import items.midipix2-7/+33
2019-05-07Do not refer to on-the-fly compound literals out of scope.midipix1-10/+12
2019-03-02pe_output_mdso_libraries(): adjust following mdso's pre-alpha abi update.midipix1-16/+26
2018-11-20pe_get_image_meta(), pe_read_import_lookup(): follow correct lookup semantics.midipix2-20/+20
2018-11-20pe_get_image_meta(): properly read the import-by-ordinal import lookup flag.midipix1-3/+3
2018-11-20output: header dump: pe_hdrdump_import_tbl(): output the import library name.midipix1-2/+30
2018-11-20output: header dump: added pe_hdrdump_import_tbl().midipix1-0/+76
2018-11-20pe_get_image_meta(), struct pe_meta_import_hdr: added .ih_virtual_addr.midipix1-0/+4
2018-11-20output: header dump: added pe_hdrdump_export_hdr().midipix1-0/+66
2018-11-20pe_get_image_meta(), struct pe_meta_export_hdr: added .eh_virtual_addr.midipix1-0/+2
2018-11-20output: header dump: added pe_hdrdump_sec_tbl().midipix1-0/+81
2018-11-20output: header dump: added pe_hdrdump_opt_hdr().midipix1-0/+198
2018-11-20output: header dump: added pe_hdrdump_coff_object_hdr().midipix1-0/+62
2018-11-20output: header dump: added pe_hdrdump_coff_image_hdr().midipix1-0/+63
2018-11-20output: header dump: added pe_hdrdump_image_dos_hdr().midipix2-0/+88
2018-11-20internals: added pe_output_hex_{header|footer}(), pe_output_raw_element().midipix2-0/+283
2018-11-20pe_get_image_meta(), pe_get_image_framework(): init/use .m_framework member.midipix2-66/+77
2018-11-20pe_get_image_meta(), pe_get_image_subtype(): init/use the .m_subtype member.midipix2-8/+19
2018-11-20pe_get_image_meta(), pe_get_image_abi(): init/use the .m_abi member.midipix2-34/+48
2018-08-17driver: pe_get_driver_ctx(): support stack-based argv.midipix1-1/+1
2018-08-09internals: pe_output_strerror(): use strerror_r(3) rather than strerror(3).midipix1-5/+14
2018-08-09front-end utility: pe_main(): remove the redundant argc parameter.midipix2-3/+3
2018-08-05coding-style meditation.midipix1-2/+2
2018-08-04driver: pe_get_driver_ctx(): fix oversight in invocation of argv_get().midipix1-1/+1
2018-08-04pe_output_error_record(): use fdctx->fderr to determine annotation mode.midipix1-2/+2
2018-07-25pe_map_raw_image(): use openat and the context's fdcwd.midipix1-2/+6
2018-07-24pe_output_error_record(): re-implemented with fdctx and pure fdio.midipix1-8/+17
2018-07-24output interfaces: revised API and implementation to use fdctx and pure fdio.midipix8-84/+120
2018-07-24driver, library interfaces: support alternate fd's for input/output/error/log.midipix4-17/+123
2018-07-14driver: argv usage and error output: use the signal-resilient pe_dprintf().midipix2-0/+5
2018-07-14internals: added pe_dprintf(), a signal-resilient dprintf implementation.midipix2-0/+62
2018-07-14argv.h: output usage and errors using [argv_]dprintf rather than fprint.midipix2-38/+47
2018-07-14argv.h: argv_get(): be consistent between forward decl. and impl.midipix1-1/+1
2018-07-14argv.h: move definition of struct argv_meta_impl to the implementation block.midipix1-6/+6
2018-05-23argv.h: whitespace meditation.midipix1-5/+9
2018-05-23argv: argv_scan(): properly handle optional argument values of short options.midipix1-0/+2
2017-12-14output: pe_output_mdso_libraries(): implementation and integration.midipix3-0/+200
2017-12-14driver: added -d and -D (list mdso libs [and referenced symbols]).midipix3-0/+17
2017-12-14project: renamed pe_output_import_libraries.c -> pe_output_idata_libraries.c.midipix1-0/+0
2017-12-14driver: pe_default_options[]: usage: explicitly mention the .idata section.midipix1-2/+2
2017-12-14logic: pe_get_image_meta(): added mdso support.midipix1-0/+42
2017-12-13refactor: struct pe_meta_stats: members are now t-prefixed.midipix3-10/+10
2017-12-13refactor: struct pe_expsym: members are now s-prefixed.midipix1-8/+8
2017-12-13refactor: struct pe_raw_image: members are now map-prefixed.midipix5-15/+15
2017-12-13refactor: struct pe_image_meta: pointers to raw data are now r-prefixed.midipix7-41/+41
2017-12-13refactor: struct pe_image_meta: meta section header members are now h-prefixed.midipix2-15/+15
2017-12-13refactor: struct pe_image_meta: meta members are now m-prefixed.midipix10-109/+109