Skip to content

MAP file format for Windows NE 16-/32-bit (by examples) #7950

Open
@Wall-AF

Description

@Wall-AF

@Wall-AF if it's different than the below format, can you please open a new ticket for the request?

* Address Publics by Value Rva+Base Lib:Object
*
* 0000:00000000 ___safe_se_handler_table 0000000000000000 <absolute>
* 0000:00000000 ___safe_se_handler_count 0000000000000000 <absolute>
* 0000:00000000 __ImageBase 0000000140000000 <linker-defined>
* 0001:00000040 foo 0000000140001040 f foo.obj
* 0001:000000c0 bar 00000001400010c0 f foo.obj

Originally posted by @ryanmkurtz in #7945

Here BC402_MAPfiles.zip are several example MAP files (generated using different memory models from various versions of Borland C++ compilers from 4.0 to 4.02) I've created whilst testing compilations from Ghidra's decompiler in order to verify them.

I hope they provide enough info to create a loader that'll be able to setup function signatures (watch out for near,far&huge pointer qualifiers and references (using &)) and various data segment constants/variables as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions