Releases: GrammaTech/gtirb-pprinter
Releases · GrammaTech/gtirb-pprinter
2.1.0
Changelog
--asm
option now prints the assembly for each module of an IR separately--version-script
now prints a separate version script for each module
of an IR--module
option deprecated- Binaries printed from a multi-module IR are linked against other binaries from the
same IR whenever possible - Use
elfStackExec
andelfStackSize
auxdata to generate appropriate linker flags. - Requires gtirb >=2.0.0
- Set entrypoint in ELF files to
_start
symbol even if the symbol is not
GLOBAL
. Fixes segfaults in rewritten binaries with non-global_start
symbols. - Fix segfault if
elfDynamicInit
orelfDynamicFini
auxdata do not refer
to aCodeBlock
. - Use function boundaries and the
functionNames
auxdata to printPROC
andENDP
directives in PE binaries.
If thefunctionNames
auxdata is not present, noPROC
andENDP
directives will be printed. - Use function boundaries and the
functionNames
auxdata to print.size
directives forFUNC
andGNU_IFUNC
symbols in ELF binaries associated to functions.
If thefunctionNames
auxdata is not present, no.size
directives for functions will be printed. - Print
.size
directives forTLS
symbols in ELF binaries. - Deprecate the
PrettyPrinterBase
methods:getContainerFunctionName
,getFunctionName
,isFunctionEntry
, andisFunctionLastBlock
; and
the attributes:functionEntry
, andfunctionLastBlock
.
2.0.0
Changelog
- Remove unnecessary --isa,-I option.
- Fix bug where a binary with COPY-relocated symbols could be missing
DT_NEEDED entries after rewriting with--dummy-so
. - Removed
--binaries
option --binary
option now links each module of the IR into a separate binary--module
option to work in tandem with the --asm and --binary options- Added
--object
option to print relocatable object files - Binary printer methods now operate on modules, rather than the entire IR
--shared
option now takes an argument: eitheryes
,no
, orauto
(auto
uses aux_databinaryType
)- Pass
-init
and-fini
told
based onelfDynamicInit
andelfDynamicFini
auxdata. - Added patterns for selecting and printing modules by names