Gtirb

Latest version: v2.1.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

2.2.0

* Stop generating debian metapackages and packages with the version attached
to the package name. Updates in the apt-repository now support multiple
package versions and upgrading `gtirb-pprinter` with `apt-get upgrade`.
* Fix dummy-so generation to use correct syntax for ARM with `--dummy-so=yes`
* Work around ml.exe bug that could result in missing exports in x86-32 PEs.
* Generate `-m32` when generating dummy-so libraries and object files for x86-32
* Add fixup to strip `_copy` suffix appended by ddisasm from `__x86.get_pc_thunk.*` symbols.
* Suppress `__x86.get_pc_thunk.*` symbols in dynamic mode.
* Use `-nodefaultlibs` with the `complete` printing policy
* Blacklist `_GLOBAL_OFFSET_TABLE_` symbol from dummy-so libraries.
* Explicitly link `ld-linux*.so` if `-nodefaultlibs` is enabled.
* Support GOT, PAGE and GOT, OFST symbolic expression attributes for split .got loads on MIPS.
* Populate non-local symbols under `global:` in version-script.
* Change version scripts that only use the module's symbol version
definitions (not its needed symbols).
* Create a different version script for dummy-so dependencies using the
needed symbol versions.
* Add `-Wl,-soname` argument for `elfSoname` aux-data
* Requires gtirb >=2.1.0
* Remove generation for `--export-dynamic`, and instead, add generation for `--dynamic-list` in binary printer
* For ambiguous symbols, choose one symbol to keep original symbol name.
* For symbols with base version, only print out the connector and do not
print out the base version in .symver directives.
* Update capstone version from 4.0.1 to 5.0.1
* Add a fixup for `repz ret` for MASM pprinter
* Fix a bug where FADD or FSUBR operands could be misplaced for MASM pprinter

2.1.0

* `--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` and `elfStackSize` 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` or `elfDynamicFini` auxdata do not refer
to a `CodeBlock`.
* Use function boundaries and the `functionNames` auxdata to print `PROC` and `ENDP` directives in PE binaries.
If the `functionNames` auxdata is not present, no `PROC` and `ENDP` directives will be printed.
* Use function boundaries and the `functionNames` auxdata to print `.size`
directives for `FUNC` and `GNU_IFUNC` symbols in ELF binaries associated to functions.
If the `functionNames` auxdata is not present, no `.size` directives for functions will be printed.
* Print `.size` directives for `TLS` symbols in ELF binaries.
* Deprecate the `PrettyPrinterBase` methods: `getContainerFunctionName`, `getFunctionName`, `isFunctionEntry`, and `isFunctionLastBlock`; and
the attributes: `functionEntry`, and `functionLastBlock`.

2.0.0

* 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
* 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: either `yes`, `no`, or `auto` (`auto` uses aux_data `binaryType`)
* Pass `-init` and `-fini` to `ld` based on `elfDynamicInit` and `elfDynamicFini` auxdata.
* Added patterns for selecting and printing modules by names

1.12.0

* Add elfDynamicInit and elfDynamicFini AuxData definitions

1.11.0

Note that this release, due to changes to the protobuf definitions of symbolic
expression attributes, is backwards-incompatible with previous GTIRB files.

* Replace symbolic expression attributes with composable labels.

1.10.9

* Added support for bool values in AuxData.
* Added elfSymbolVersions provisional AuxData definition.
* The GTIRB file format has changed to include a prefix containing a "magic"
identifier and the GTIRB protobuf version number to allow easier id of
GTIRB files. The change is not backwards compatible. Newer versions of
GTIRB will not be able to load older GTIRB files.
* Converted the decode mode from an arbitrary integer into a ProtoBuf enum.
This obviously breaks compatibility with older GTIRB files.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.