Skip to content

MachOParser is a Kotlin library to parse Mach-O files

License

Notifications You must be signed in to change notification settings

mobile-dev-inc/MachOParser

Repository files navigation

MachOParser

MachOParser is a Kotlin library to parse Mach-O files

Mach-O is a file format for executables, shared libraries and related binaries. This library reads the Mach-O file and provides access to its metadata. The CPU Type metadata is supported.

Installation

Gradle:

repositories {
    mavenCentral()
}

dependencies {
    implementation("dev.mobile:machoparser")
}

Usage

let file = File(...)
if (MachOParser.parseCPUTypes(file.inputStream()).contains(X86_64)) {
    // handle X86_64
}

About

MachOParser is a Kotlin library to parse Mach-O files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages