ELF Viewer & PE Viewer (DLL, EXE, Mach-O Headers, Sections, Imports)

ELF Viewer & PE Viewer (DLL, EXE, Mach-O Headers, Sections, Imports), a VS Code extension by Zovo

Open a .so, .o, .exe, .dll, .sys or .dylib file in VS Code and read its structure: headers, sections, segments, imports, exports, symbols and the raw bytes. One viewer for Linux and Unix ELF, Windows PE and Apple Mach-O files, universal binaries included. Read-only, no network, fast on 500 MB files.

Install in VS CodeOpen the Marketplace page

Free, MIT license. Needs VS Code 1.90.0 or newer. Extension ID zovo.zovo-elf-pe-viewer, version 0.1.3.

ELF viewer: the imports of a Linux shared object, with the library and symbol version of each function

Questions people ask

Is ELF Viewer & PE Viewer (DLL, EXE, Mach-O Headers, Sections, Imports) free?

Yes. ELF Viewer & PE Viewer (DLL, EXE, Mach-O Headers, Sections, Imports) is free and MIT licensed.

How do I install ELF Viewer & PE Viewer (DLL, EXE, Mach-O Headers, Sections, Imports)?

Click "Install in VS Code" above, or search for zovo.zovo-elf-pe-viewer in the Extensions view.

What you see

FormatFilesTabs
ELF (32 and 64-bit, little and big endian).so, .so.1, .o, .ko, .elf, .axf, Linux executablesHeader, sections, segments (program headers), imports with library and version, exports, symbols (.symtab and .dynsym), dynamic section, notes (build ID)
PE (PE32 and PE32+).exe, .dll, .sys, .efi, .ocx, .pyd, .cpl, .scrDOS, COFF and optional headers, data directories, sections, imports by name and ordinal, delay-load imports, exports with forwarders, resources, debug info (PDB path), .NET runtime
Mach-O (32 and 64-bit, universal).dylib, .bundle, macOS and iOS executablesHeader, load commands, segments and sections, linked libraries, imports with the library of each symbol, exports (export trie), symbols, UUID, platform and SDK
PE viewer: the exports of a Windows DLL, with ordinals and forwarders

Open a file

Free and Pro

Everything above is free, with no limit and no sign-in. Three Zovo Pro tools save time on bigger jobs. Each has 3 free tries on your computer, and a try counts only when the tool gives you a result.

ToolFreeZovo Pro
Headers, sections, segments, imports, exports, symbols, hex view, field tree, filter and copyyesyes
Export the structure as JSON or as a C header (one struct and one const array per table)3 triesyes
Compare two binaries: changed header fields, added and removed sections, libraries, imports and exports3 triesyes
Find a symbol, import or library name in every binary of a folder (plain text or /regex/)3 triesyes

Zovo Pro is USD 19 once and turns on the Pro tools in every Zovo extension. Nothing about Pro shows when you open a file; it only comes up when you click one of the three tools. To hide the buttons, set elfPeViewer.showProTools to false.

Compare two builds of a DLL: added imports, removed exports and changed sections

Safe with any file

Commands

CommandWhat it does
ELF & PE Viewer: Open in ELF & PE ViewerOpen any file (also in the Explorer right-click menu)
ELF & PE Viewer: Open a sample ELF fileA small sample to try the viewer
ELF & PE Viewer: Export structure as JSON (Pro)Save the parsed structure
ELF & PE Viewer: Export structure as C header (Pro)Save the structure as C declarations
ELF & PE Viewer: Compare two binaries (Pro)What changed between two builds
ELF & PE Viewer: Find a symbol or import in a folder (Pro)Search every binary of a folder

Settings

SettingDefault
elfPeViewer.showProToolstrueShow the Export, Compare and Find in folder buttons
elfPeViewer.showSupportLinkstrueShow the small links at the bottom of the viewer
elfPeViewer.askForRatingtrueAsk once, after a few days, whether you want to rate it

Limits

Works in VS Code 1.90 and later, Cursor, Windsurf and VSCodium.

Install ELF Viewer & PE Viewer (DLL, EXE, Mach-O Headers, Sections, Imports)

Click the button to open VS Code and install it, or press Ctrl+P (Cmd+P on macOS) in VS Code and run ext install zovo.zovo-elf-pe-viewer.

Free, MIT license. Needs VS Code 1.90.0 or newer. Extension ID zovo.zovo-elf-pe-viewer, version 0.1.3.

Source code and issues are on GitHub.

All our VS Code extensions

Zovo Pro and support

Zovo Pro: USD 19 once, every Zovo viewer. It turns on the Pro tools in this extension and in the other Zovo extensions you use. The free features stay free.

After a card payment your license key shows on the next page. Paste it with the command "Zovo Pro: Enter a key".

You can also support the work with no Pro:

Need your format supported?

Open a format request with a sample file, and I reply there whether it can be done. For USD 299 once, through this GitHub Sponsors tier, I add your file format or a missing feature to this extension, with tests, within 7 days.