summaryrefslogtreecommitdiffhomepage
path: root/src/internal
AgeCommit message (Collapse)AuthorFilesLines
2019-08-15perk.h: eliminate #include's of referential headers.midipix1-0/+2
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.
2018-11-20output: header dump: added pe_hdrdump_image_dos_hdr().midipix1-0/+14
2018-11-20internals: added pe_output_hex_{header|footer}(), pe_output_raw_element().midipix2-0/+283
2018-07-24driver, library interfaces: support alternate fd's for input/output/error/log.midipix1-0/+43
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.midipix1-36/+42
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-14driver: added -d and -D (list mdso libs [and referenced symbols]).midipix1-0/+2
2017-02-04annual chores.midipix5-5/+5
2016-12-26argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.midipix1-2/+2
2016-12-25argv.h: use an option vector rather than a direct pointer to the option table.midipix2-31/+54
2016-11-26argv.h: error code path: remove unneeded if statement (always true).midipix1-5/+2
2016-11-17driver: added --strings support (list strings found in the coff string table).midipix1-0/+1
2016-11-16driver: added --symbols support (list symbols found in coff symbol table).midipix1-0/+1
2016-11-16driver: removed --output support (no longer needed).midipix1-1/+0
2016-11-15output: renamed pe_output_image_type() --> pe_output_image_category().midipix1-1/+1
2016-11-15driver: added --sections support (print image sections).midipix1-0/+1
2016-11-14libary api: pre-alpha: code maintenance: removed struct pe_io_ctx.midipix2-48/+0
2016-11-14libary api: pre-alpha: code maintenance: removed struct pe_server_ctx.midipix1-1/+0
2016-11-14libary api: pre-alpha: code maintenance: removed struct pe_linker_ctx.midipix1-1/+0
2016-11-14libary api: pre-alpha: code maintenance: removed struct pe_output_ctx.midipix1-1/+0
2016-11-14libary api: pre-alpha: code maintenance: removed struct pe_symbol_ctx.midipix1-1/+0
2016-11-12driver: added --type support (print image type).midipix1-0/+1
2016-11-10whitespace meditation.midipix1-13/+13
2016-11-10internals: pe_record_error(): set unit information in error record.midipix1-0/+3
2016-11-10driver: internals: error trace support: added unit context marks.midipix1-0/+14
2016-11-10driver: struct pe_error_info: extend and refactor.midipix2-20/+21
2016-11-10argv.h: argv_usage(): use correct format for short option name in short mode.midipix1-1/+1
2016-11-10struct pe_unit_ctx: removed cctx (pass pointer to the driver context instead).midipix1-1/+0
2016-11-10internals: error trace implementation: added pe_record_error().midipix2-0/+121
2016-11-10driver: internals: added the static inlined pe_get_driver_ictx() helper.midipix1-0/+14
2016-11-10driver: added initial error info vector and buffer allocation.midipix1-0/+4
2016-11-10argv.h: error message formatting: handle lonely long options.midipix1-12/+17
2016-11-10argv.h: no need to #include <errno.h>midipix1-1/+0
2016-11-10utility: added pe_main() as a public interface, refactored accordingly.midipix1-1/+0
2016-11-10argv.h: argv_show_status(): mark unused parameter.midipix1-0/+2
2016-11-10internals: pe_swap_long(): improve readability via parentheses.midipix1-1/+1
2016-11-10internals: pe_little_endian_host(): initial implementation and integration.midipix2-27/+37
2016-11-10argv.h: usage screen generator: use the 'file' parameter rather than 'stdout'.midipix1-8/+8
2016-11-10argv.h: usage screen generator: added basic paradigm support.midipix1-1/+9
2016-11-10argv.h: usage screen generator: add colors.midipix1-0/+21
2016-11-10argv.h: simplified usage screen generator: initial implementation.midipix1-0/+135
2016-11-10argv.h: usage screen generator: remove the paradigm-supporting implementation.midipix1-331/+0
The idea was nice, the functionality was helpful for development, yet the resulting layout and overall appearance were rather awful. Regardless of the effort that was put into this sophisticated flavor of the usage screen generator, and despite it's utility for debugging, it is now being replaced with a simpler, two-field-only variant.
2016-11-10argv.h: usage screen generator: fix typesetting of spanning paradigms.midipix1-6/+25
2016-11-10argv.h: test for ARGV_OPTION_HYBRID_ONLY before accepting arg-less options.midipix1-3/+3
2016-11-10argv.h: add the missing ARGV_OPTION_HYBRID_ONLY to ARGV_OPTION_HYBRID_SWITCH.midipix1-1/+2