Skip to content

IDB import for PIC binaries does not handle changed base address #7163

Closed

Description

@CouleeApps

Version and Platform (required):

  • Binary Ninja Version: 5.1.7999
  • Edition: Ultimate
  • OS: Windows
  • OS Version: 11
  • CPU Architecture: x64

Bug Description:
When loading a position-independent binary, binja now bases the binary at 0x400000. But the IDB importer expects the file to be at 0 and therefore cannot apply function data anymore.

Steps To Reproduce:

  1. Open print_arg_O0.zip
  2. Analysis -> Import debug info from external file with print_arg_O0.i64.zip
  3. See "Attempting to add function not backed by file" errors

Expected Behavior:
I expected the import to work

Additional Information:
We recently changed PIC file base addresses from 0 to 0x400000 and a bunch of other things got caught by this too.

Activity

  1. added
    Effort: Low
    Impact: Medium
    on Jul 22, 2025
  2. added theissue type on Jul 22, 2025
  3. rbran commented on Jul 23, 2025

    @rbran
    Contributor

    fix at #7169

  4. added this to the Helion Release 2 milestone on Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

DebugInfo: IDBEffort: LowImpact: Medium

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions