Skip to content

v1.1.0

Compare
Choose a tag to compare
@ayoubfaouzi ayoubfaouzi released this 19 Dec 23:16
· 82 commits to main since this release
d27c6ad

[1.1.0] - 2021-12-20

Added

  • Add .editorconfig and .vscode config.
  • Add github action CI workflow to test the package.
  • Add few badges for the README.md to track build status, coverage and code quality.
  • Introduce a new API to parse a file from a byte array.
  • Parse .net metadata Module table.
  • Parse .net metadata stream headers and metadata tables stream header.
  • Add cmd/pedumper to illustrate how to use the library.
  • Add unit test for relocation, exception, security, symbol, file, nt header, section and helper files.
  • Add an option New() to customize max of relocations entries and COFF symbols to parse.

Changed

  • Remove uneeded break statements & lowercase error messages and anomalies.
  • Make COFF entry in File struct a pointer.
  • Remove unsafe pointer usage from resource directory.
  • Do not return an error when COFF symbol table is not found.
  • License from Apache 2 to MIT.

Fixed

  • Probe for invalid Nt Header offset.
  • Fix authenticode hash calculation.
  • Compile correctly on 32 bit thnkas to @Max Altgelt.
  • COFF symbol table readASCIIStringAtOffset() out of bounds exception.
  • Probe for optional header section alignment != 0.
  • Fix infinite loop in exception unwind code parsing.
  • Fix last data directory entry is reserved and must be zero.
  • Safe ready of global pointer register