Skip to main content

netfile is a minimalistic .NET executable binary parser

Project description

Hello World!

netfile is a small .NET executable binary parser. It is capable of reading in a .NET executable binary (like a .dll) and parsing the metadata structures in-memory to make programmatic access to this information possible.


I wanted to automate the extraction of resources from "compiled" .NET assets, and doing it from first principles was a learning exercise.

Notable (Known) Bugs:

  • Signature parsing is very rudimentary and incomplete, so it is not done by default; you can call the stub using Field.parse().

Notable Missing Features:

  • Only the TypeDef, Field, ClassLayout and FieldRVA tables are interpreted into right objects right now. The remaining tables are loaded simply as collections of raw bytes.

Do you intend to support this?

Not really. If you find it useful and fix minor issues, I'll happily take pull requests. If you want to do a major refactor of my hasty first draft, I'd recommend simply forking the project instead.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for netfile, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size netfile-0.1.3-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size netfile-0.1.3.tar.gz (11.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page