Add MachoManiac

This commit is contained in:
Sam Carlton 2021-01-30 16:50:33 -06:00
parent 04c0b7aeae
commit 50b1c46678
34 changed files with 5269 additions and 0 deletions

View file

@ -0,0 +1,31 @@
let FLAGS = {
NOUNDEFS: 1,
INCRLINK: 2,
DYLDLINK: 4,
BINDATLOAD: 8,
PREBOUND: 16,
SPLIT_SEGS: 32,
LAZY_INIT: 64,
TWOLEVEL: 128,
FORCE_FLAT: 256,
NOMULTIDEFS: 512,
NOFIXPREBINDING: 1024,
PREBINDABLE: 2048,
ALLMODSBOUND: 4096,
SUBSECTIONS_VIA_SYMBOLS: 8192,
CANONICAL: 32768,
WEAK_DEFINES: 32768,
BINDS_TO_WEAK: 65536,
ALLOW_STACK_EXECUTION: 131072,
ROOT_SAFE: 262144,
SETUID_SAFE: 524288,
NOREEXPORTED_DYLIBS: 1048576,
PIE: 2097152,
DEAD_STRIPPABLE_DYLIB: 4194304,
HAS_TLV_DESCRIPTORS: 8388608,
NO_HEAP_EXECUTION: 16777216,
APP_EXTENSION_SAFE: 33554432
toString: function(){
return JSON.stringify(this);
}
};