Skip to content

DWARF parsing issue #6799

Open
Open
@utkonos

Description

@utkonos

Version and Platform (required):

  • Binary Ninja Version: 5.1.7387-dev
  • OS: macOS
  • OS Version: 15.4.1
  • CPU Architecture: x64

Bug Description:
[DWARF] Trying to add a local variable "ex" in function at 0x401590 at positive storage offset 32. Please report this issue.

Steps To Reproduce:

  1. Open this file: "silly dolphin flies eagerly"
  2. Check logs.
  3. Notice this error:
[DWARF] Trying to add a local variable "ex" in function at 0x401590 at positive storage offset 32. Please report this issue.

Additional Information:
More surrounding logs:

[Default] Active version: 5.1.7387-dev ultimate
[Platform] 10013 bundled types for platform windows-x86_64 loaded
[Platform] 0 bundled variables for platform windows-x86_64 loaded
[Platform] 77 bundled functions for platform windows-x86_64 loaded
[Analysis] Added windows-x86_64 entry point at 0x401500
[TypeLibrary] Type library 'kernel32.dll' imported
[Analysis.TypeLibraryMapping] Type library 'winX64common' imported
[TypeLibrary] Type library 'msvcrt.dll' imported
[BinaryView.PEView] The number of Import_Directory_Table reported by the Data Directories is different from its correct amount. There are actually 3 Import_Directory_Table in the file, but SizeOfImportTable reports 99. The PE parsing continues with the actual number of Import_Directory_Table
[BinaryView.PEView] Found TLS entrypoint _TLS_Entry_0: 0x402310
[BinaryView.PEView] Found TLS entrypoint _TLS_Entry_1: 0x4022e0
[BinaryView.PEView] PE parsing took 2.550 seconds
[Default] main function found in function: 0x4011b0
[MainWindow] Restored View State for the current file.
[DWARF] Trying to add a local variable "ex" in function at 0x401590 at positive storage offset 32. Please report this issue.
[BinaryView] Adding 247 types from debug info
[BinaryView] Adding 71 data variables from debug info
[BinaryView] Applying 78 functions from debug info
[BinaryView] Did not apply 33 functions for lack of provided platform or address
[Analysis] Analysis update took 1.587 seconds
[Analysis.LinearSweep] Analysis starting...
[Analysis.LinearSweep] Adding section: .text <0x401000 - 0x402c5f> for analysis.
[Analysis.LinearSweep] Analysis Phase 2.0 created 0 functions. [x86_64:windows-x86_64]
[Analysis.LinearSweep] Analysis Phase 2.1 created 0 functions. [x86_64:windows-x86_64]
[Analysis.LinearSweep] Analysis Phase 3.0 created 26 functions [x86_64:windows-x86_64]
[Analysis.LinearSweep] Analysis Phase 3.1 created 0 functions [x86_64:windows-x86_64]
[Analysis.SignatureMatcher] Loaded signature library: /Applications/Binary Ninja 2.app/Contents/Resources/signatures/windows-x86_64/ucrt_windows-x86_64.sig
[Analysis.SignatureMatcher] Loaded signature library: /Applications/Binary Ninja 2.app/Contents/Resources/signatures/windows-x86_64/msvcrt_windows-x86_64.sig
[Analysis.SignatureMatcher] 0 functions matched total, 0 name-only matches, 0 thunks resolved, 55 functions skipped because they were too small
[Analysis.PointerSweep] Initial code analysis complete, starting pointer sweep...
[Analysis.PointerSweep] Pointer sweep found 113 pointer(s).
[WARP] Function matching took 2.277074625s
[Analysis] Analysis update took 2.542 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: DebugInfoIssue requires changes to the DebugInfo APIDebugInfo: DWARFEffort: MediumIssue should take < 1 monthImpact: LowIssue is a papercut or has a good, supported workaround

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions