lucasg / Dependencies

A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
MIT License
8.98k stars 733 forks source link

Support import (.lib) and export (.exp) libraries #257

Open alexchandel opened 8 months ago

alexchandel commented 8 months ago

One sometimes need to examine Import or export libraries to determine what's in them and where it may resolve to. Export libraries are Intel 80386 COFF object file, not stripped, 2 sections, symbol offset=0x2fd0, 288 symbols, created Wed Jan 15 23:57:26 1997, 1st section name ".edata" according to file, which Dependencies should already handle. And input libraries are a current ar archive, which is easy to parse, and contain COFF objects.

Supporting some rudimentary analysis of these files would greatly expand the usefulness of Dependencies, and is within its general domain of functionality.

hfiref0x commented 8 months ago

PEAnatomist can parse both, under active development and does not require any fancy frameworks with few gigabytes of size.

https://rammerlabs.alidml.ru/index-eng.html