(sectname, segname, addr, size, offset, align, reloff, nreloc, flags, reserved1, reserved2)
| 55 | }; |
| 56 | |
| 57 | var Section = function Section(sectname, segname, addr, size, offset, align, reloff, nreloc, flags, reserved1, reserved2) { |
| 58 | this.sectname = new Uint8Array(16); |
| 59 | this.segname = new Uint8Array(16); |
| 60 | this.addr = addr || 0x00000000; |
| 61 | this.size = size || 0x00000000; |
| 62 | this.offset = offset || 0x00000000; |
| 63 | this.align = align || 0x00000000; |
| 64 | this.reloff = reloff || 0x00000000; |
| 65 | this.nreloc = nreloc || 0x00000000; |
| 66 | this.flags = flags || 0x00000000; |
| 67 | this.reserved1 = reserved1 || 0x00000000; |
| 68 | this.reserved2 = reserved2 || 0x00000000; |
| 69 | this.toString = function() { |
| 70 | return JSON.stringify(this); |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | var Section64 = function Section64(sectname, segname, addr, size, offset, align, reloff, nreloc, flags, reserved1, reserved2, reserved3) { |
| 75 | this.sectname = new Uint8Array(16); |
nothing calls this directly
no outgoing calls
no test coverage detected