Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 14, 2025

Updates the requirements on elf to permit the latest version.

Release notes

Sourced from elf's releases.

v0.8.0

0.8.0 - 2025-05-13

Breaking Improvements

  • Drop "nightly" feature in favor of stabilized core::error::Error for ParseError when building for no_std. This bumps the MSRV to 1.81.0 (Sept. 5, 2024).
  • Change dyn.d_val() and dyn.d_ptr() to take self by ref
  • Relax NoteAny parsing to allow notes with names that contain invalid utf8 sequences

New Features

  • Add ElfStream::segment_data() to get raw segment data
  • Add ABI constants for MIPS
  • Drop "nightly" feature in favor of stabilized core::error::Error for ParseError when building for no_std
  • Add EM_CSKY, EM_LOONGARCH EM_FRV, EM_LANAI, and EM_VE
  • Make to_str no_std compatible
  • Make Symbol fields st_info and st_other fully public
  • Add NoteAny::name_str() helper to parse the note name as valid UTF8

Bug Fixes

  • Update e_machine_to_str to return proper value for EM_RISCV
  • Various docstring fixes
Changelog

Sourced from elf's changelog.

[0.8.0] - 2025-05-13

Breaking Improvements

  • Drop "nightly" feature in favor of stabilized core::error::Error for ParseError when building for no_std. This bumps the MSRV to 1.81.0 (Sept. 5, 2024).
  • Change dyn.d_val() and dyn.d_ptr() to take self by ref
  • Relax NoteAny parsing to allow notes with names that contain invalid utf8 sequences

New Features

  • Add ElfStream::segment_data() to get raw segment data
  • Add ABI constants for MIPS
  • Drop "nightly" feature in favor of stabilized core::error::Error for ParseError when building for no_std
  • Add EM_CSKY, EM_LOONGARCH EM_FRV, EM_LANAI, and EM_VE
  • Make to_str no_std compatible
  • Make Symbol fields st_info and st_other fully public
  • Add NoteAny::name_str() helper to parse the note name as valid UTF8

Bug Fixes

  • Update e_machine_to_str to return proper value for EM_RISCV
  • Various docstring fixes

[0.7.4] - 2023-11-22

Bug Fixes

  • Fix note parsing for notes with n_namesz == (align * x + 1)

[0.7.3] - 2023-10-09

New Features

  • Derive Debug on LittleEndian and BigEndian

Misc Improvements

  • Enable #![forbid(unsafe_code)]
  • Enable #![deny(missing_debug_implementations)]
  • Enable #![warn(rust_2018_idioms)]
  • Fix doc comment on file::Class
  • Fix README example so it compiles

[0.7.2] - 2023-02-15

New Features

  • Implement core::error::Error for ParsingError accessible via a new non-default "nightly" cargo feature
  • Add abi constants for note descriptor types (n_type)
  • Add C-style struct definitions for various abi structs (Elf[32|64]_Ehdr etc). These aren't used by the parser, but are useful definitions for folks wanting to manually muck with elf bytes.

... (truncated)

Commits
  • c4d5222 Bump crate version to v0.8.0
  • e868b82 Satisfy clippy by removing an empty docstring comment for DT_MIPS_DYNSTR_ALIGN
  • 5a76e88 Update e_machine_to_str to return proper value for EM_RISCV
  • d396734 Add ElfStream::segment_data() to get raw segment data
  • f928f16 Add ABI constants for MIPS
  • 9deda06 Drop "nightly" feature in favor of stabilized core::error::Error for ParseErr...
  • ebfd5e0 Add a few more elf abi EM_ constants
  • eda089a Add EM_CSKY, EM_LOONGARCH and EM_FRV
  • cdc6769 Update github cache action to latest v4 version
  • 1b0b103 Update github checkout actions to latest v4 version
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 14, 2025
@boquan-fang boquan-fang self-requested a review May 14, 2025 23:12
@boquan-fang
Copy link
Contributor

@dependabot rebase

Updates the requirements on [elf](https://github.com/cole14/rust-elf) to permit the latest version.
- [Release notes](https://github.com/cole14/rust-elf/releases)
- [Changelog](https://github.com/cole14/rust-elf/blob/master/CHANGELOG.md)
- [Commits](cole14/rust-elf@v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: elf
  dependency-version: 0.8.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/tools/xdp/elf-0.8 branch from 530ea05 to a34a9f1 Compare May 15, 2025 22:01
@boquan-fang boquan-fang merged commit e89ebaa into main May 15, 2025
129 checks passed
@boquan-fang boquan-fang deleted the dependabot/cargo/tools/xdp/elf-0.8 branch May 15, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant