mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add MachoManiac
This commit is contained in:
parent
04c0b7aeae
commit
50b1c46678
34 changed files with 5269 additions and 0 deletions
30
helpers/macho/macho.routines.js
Normal file
30
helpers/macho/macho.routines.js
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
var RoutinesCommand = function RoutinesCommand(cmd, cmdsize, init_address, init_module, reserved1, reserved2, reserved3, reserved4, reserved5, reserved6) {
|
||||
this.cmd = cmd || 0x00000000;
|
||||
this.cmdsize = cmdsize || 0x00000000;
|
||||
this.init_address = init_address || 0x00000000;
|
||||
this.init_module = init_module || 0x00000000;
|
||||
this.reserved1 = reserved1 || 0x00000000;
|
||||
this.reserved2 = reserved2 || 0x00000000;
|
||||
this.reserved3 = reserved3 || 0x00000000;
|
||||
this.reserved4 = reserved4 || 0x00000000;
|
||||
this.reserved5 = reserved5 || 0x00000000;
|
||||
this.reserved6 = reserved6 || 0x00000000;
|
||||
this.toString = function() {
|
||||
return JSON.stringify(this);
|
||||
};
|
||||
};
|
||||
var RoutinesCommand64 = function RoutinesCommand64(cmd, cmdsize, init_address, init_module, reserved1, reserved2, reserved3, reserved4, reserved5, reserved6) {
|
||||
this.cmd = cmd || 0x00000000;
|
||||
this.cmdsize = cmdsize || 0x00000000;
|
||||
this.init_address = init_address || 0x0000000000000000;
|
||||
this.init_module = init_module || 0x0000000000000000;
|
||||
this.reserved1 = reserved1 || 0x0000000000000000;
|
||||
this.reserved2 = reserved2 || 0x0000000000000000;
|
||||
this.reserved3 = reserved3 || 0x0000000000000000;
|
||||
this.reserved4 = reserved4 || 0x0000000000000000;
|
||||
this.reserved5 = reserved5 || 0x0000000000000000;
|
||||
this.reserved6 = reserved6 || 0x0000000000000000;
|
||||
this.toString = function() {
|
||||
return JSON.stringify(this);
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue