A tool for analyzing Portable Executable files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.paket
src
.gitattributes
.gitignore
.travis.yml
LICENSE.md
README.md
RELEASE_NOTES.md
Runestone.FSharp.sln
appveyor.yml
build.cmd
build.fsx
build.sh
paket.dependencies
paket.lock

README.md

Runestone.FSharp

A library for analyzing portable executable files. This is a very rough draft.

Usage

#r "Runestone.FSharp.dll"

open Runestone.FSharp.PortableExecutable

let path = @"###PATH_TO_EXECUTABLE###"

let binary = PortableExecutableFile path

let headers =
    ["DOS header", box binary.DosHeader
     "File header", box binary.FileHeader
     "Optional header", box binary.OptionalHeader
     "Section headers", box binary.SectionHeaders]

for (title, header) in headers do
    printfn "---------------\r\n%s\r\n--------------\r\n%A\r\n" title header