MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / parseMain

Method parseMain

helpers/scanner/parsers/macho-node/parser.js:484–493  ·  view source on GitHub ↗
(type, buf)

Source from the content-addressed store, hash-verified

482 }
483
484 parseMain (type, buf) {
485 if (buf.length < 16)
486 throw new Error('main OOB');
487
488 return {
489 type: type,
490 entryoff: this.readUInt64(buf, 0),
491 stacksize: this.readUInt64(buf, 8)
492 };
493 }
494
495}

Callers 1

parseCommandMethod · 0.95

Calls 1

readUInt64Method · 0.80

Tested by

no test coverage detected