Skip to content

Tockloader and Tockloader-rs produce different outputs #125

Description

@Joan-DwD

I noticed a discrepancy between the Rust and Python Tockloade-rs where, for the init_fn_offset value, the Rust version (tockloader-rs/src/tbf_parser/types.rs at line 989) adds the full header size to the offset while the Python version (tockloader/tbfh.py at line 74) does not, and a similar issue exists for the protected_size value in the same files (Rust at line 959 and Python at line 75), which together cause a mismatch in the outputs between the two tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions