Error when processing x64 binary built with Delphi 11.2.

Issue #3 resolved
Hiroyuki Hori created an issue

If you run the attached file run.bat, you will get the following error.

F:\Report>run

F:\Report>map2pdb.exe -pdb:Win64\Debug\Project1.pdb -bind:Win64\Debug\Project1.exe -altpdb:"Project1.pdb" Win64\Debug\Project1.map
map2pdb - Copyright (c) 2021 Anders Melander
Version 2.6.2

Exception: Overlapping segments: .data [0002:00000000] and .text [0001:00000000]

F:\Report>

Comments (3)

  1. Anders Melander repo owner
    • changed status to open

    Reproduced.

    The problem is that the segment address values have grown from 8 digit hex values to 16 digit values. The hex parser only reads the first 8 digits so the values all end up as zero.

  2. Anders Melander repo owner

    Increased supported width of address offset values from 8 to 16 hex digits in map reader. Changed address offset type from Cardinal to UInt64. Fixes #3

    → <<cset 80306463a25f>>

  3. Log in to comment