Skip to content

Releases: libbpf/blazesym

v0.2.0-rc.4

24 Jun 17:17
Compare
Choose a tag to compare

What's Changed

  • Added support for symbolizing addresses in a vDSO
    • Added vdso attribute to symbolize::Process type
  • Added support for normalizing addresses in a vDSO
    • Added normalize::UserMeta::Sym variant
  • Adjusted debug link resolution to handle self-referential debug links more gracefully
  • Report "symbolic" path in symbolize::Sym::module when using process symbolization on APKs with map_files set to true
  • Improved handling of symbolic links to prevent duplicate work for same symbol source reached through different links
  • Fixed reading of compressed ELF section data with unaligned compression headers
  • Adjusted symbol names reported for BPF programs to contain bpf_prog_ prefix and program tag
  • Made inspect::SymInfo type non-exhaustive
  • Merged normalize::Reason and symbolize::Reason
  • Changed CodeInfo::to_owned to into_owned
  • Bumped minimum supported Rust version to 1.75

New Contributors

Full Changelog: v0.2.0-rc.3...v0.2.0-rc.4

cli-v0.1.10

24 Jun 17:50
Compare
Choose a tag to compare
cli: Bump version to 0.1.10

This change bumps blazecli's version to 0.1.10. The following notable
changes have been made since 0.1.9:
- Bumped blazesym dependency to 0.2.0-rc.4

Signed-off-by: Daniel Müller <[email protected]>

capi-v0.1.2

24 Jun 17:35
Compare
Choose a tag to compare
capi: Bump version to 0.1.2

This change bumps the blazesym-c's version to 0.1.2. The
following notable changes have been made since 0.1.1:
- Introduced blaze_user_meta_sym meta data variant
  - Added support for normalization of vDSO addresses
- Added shorter blaze_user_meta_kind constants
  - Deprecated BLAZE_USER_META_KIND_BLAZE_USER_META_* constants
- Bumped blazesym dependency to 0.2.0-rc.4

Signed-off-by: Daniel Müller <[email protected]>

v0.2.0-rc.3

18 Mar 18:15
Compare
Choose a tag to compare

What's Changed

  • Added support for 32 bit ELF binaries
  • Added symbolize::Symbolizer::cache method for caching process VMA as well as ELF metadata
  • Added normalize::NormalizeOpts::apk_to_elf attribute for normalizing addresses mapping to APKs to the contained ELF file
  • Added symbolize::Sym::module attribute
  • Renamed symbolize::Source::kernel_image to vmlinux
  • Renamed inspect::SymInfo::obj_file_name to module
  • Adjusted kernel symbolization logic to give preference to vmlinux file, if present
  • Changed symbolize::Kernel::{kallsyms,kernel_image} to support disabling of the source
  • Adjusted vmlinux based kernel address symbolization logic to take into account system KASLR state
    • Added kaslr_offset member to symbolize::Kernel
  • Moved symbolization and inspection sources into source sub-module
  • Moved normalize::Apk behind existing apk feature
  • Changed inspect::SymInfo::size to be an Option
  • Fixed unsoundness in internally used InsertMap type
  • Bumped minimum supported Rust version to 1.70

New Contributors

Full Changelog: v0.2.0-rc.2...v0.2.0-rc.3

cli-v0.1.9

18 Mar 18:27
Compare
Choose a tag to compare
cli: Bump version to 0.1.9

This change bumps blazecli's version to 0.1.9. The following notable
changes have been made since 0.1.8:
- Added --debug-dirs and --no-debug-syms options to 'symbolize
  process' sub-command
- Added --no-debug-syms option to 'inspect dump elf' sub-command
- Added --kallsyms and --vmlinux options to 'symbolize kernel'
  sub-command
- Fixed truncation of overly long tracing lines
- Bumped blazesym dependency to 0.2.0-rc.3

Signed-off-by: Daniel Müller <[email protected]>

capi-v0.1.1

18 Mar 20:54
Compare
Choose a tag to compare
capi: Bump version to 0.1.1

This change bumps the blazesym-c's version to 0.1.1. The
following notable changes have been made since 0.1.0:
- Lowered minimum supported Rust version to 1.70

Signed-off-by: Daniel Müller <[email protected]>

capi-v0.1.0

18 Mar 18:46
Compare
Choose a tag to compare
capi: Bump version to 0.1.0

This change bumps the blazesym-c's version to 0.1.0. The
following notable changes have been made since 0.1.0:
- Introduced blaze_trace function for tapping into the library's
  tracing functionality
- Added apk_to_elf attribute to blaze_normalize_opts
- Added size and module attributes to blaze_sym type
- Added additional reserved bytes to various types
- Adjusted various enum types to be mere typedefs
- Changed size attribute of blaze_sym_info to be signed
- Changed blaze_user_meta_kind to be represented as uint8_t
- Renamed kernel_image member of blaze_symbolize_src_kernel to
  vmlinux
- Renamed obj_file_name member of blaze_sym_info to module
- Renamed map_files member of blaze_symbolize_src_process to
  no_map_files and inverted its meaning
- Added support for disabling kallsyms and vmlinux to
  blaze_symbolize_src_kernel
- Added blaze_symbolize_cache_elf for caching of ELF data
- Added blaze_symbolize_cache_process for caching of process VMA
  metadata
- Bumped blazesym dependency to 0.2.0-rc.3

Signed-off-by: Daniel Müller <[email protected]>

cli-v0.1.8

12 Dec 00:37
Compare
Choose a tag to compare
cli: Bump version to 0.1.8

This change bumps blazecli's version to 0.1.8. The following notable
changes have been made since 0.1.7:
- Significantly shortened tracing output when enabled (via -v)

Signed-off-by: Daniel Müller <[email protected]>

v0.2.0-rc.2

05 Nov 18:39
Compare
Choose a tag to compare

What's Changed

  • Added support for symbolizing BPF kernel program addresses including source code information
    • Added bpf (default disabled) feature
  • Added Mac OS to list of supported operating systems for file based symbolization
  • Added support for iteration over DWARF symbols to inspect::Inspector
  • Adjusted normalization logic to use "symbolic path" for reading build IDs when normalizing with NormalizeOpts::map_files equal to false
  • Adjusted inspect::Inspector::for_each to accept callback returning std::ops::ControlFlow to facilitate early termination
  • Improved kallsyms parsing performance to speed up overall kernel address symbolization
  • Fixed incorrect file offset to virtual offset translation, resulting in wrong symbolization in certain binaries
  • Bumped minimum supported Rust version to 1.69

New Contributors

Full Changelog: v0.2.0-rc.1...v0.2.0-rc.2

cli-v0.1.7

05 Nov 19:08
Compare
Choose a tag to compare
cli: Bump version to 0.1.7

This change bumps blazecli's version to 0.1.7. The following notable
changes have been made since 0.1.6:
- Added support for symbolization of kernel addresses
- Added '--map-files' option to 'normalize user' sub-command
- Bumped blazesym dependency to 0.2.0-rc.2

Signed-off-by: Daniel Müller <[email protected]>