https://github.com/nowsecure/macho-ts
https://github.com/nowsecure/macho-ts
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nowsecure/macho-ts
- Owner: nowsecure
- License: mit
- Created: 2024-02-15T15:12:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T15:46:39.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T03:03:57.228Z (9 months ago)
- Language: TypeScript
- Size: 85.9 KB
- Stars: 4
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# macho-ts
This is a rewrite of Fedor Indutny's macho nodejs library in TypeScript.
Simple and incomplete Mach-O binary format parser.
## Usage
```typescript
const data = fs.readFileSync(process.execPath);
const exec = macho.parse(data);
console.log(exec.filetype);
```
See test/ for more details
#### LICENSE
This software is licensed under the MIT License.
Copyright pancake, 2023
Copyright Fedor Indutny, 2014-2016.