| 33 | } |
| 34 | exports.elf64_shdr = elf64_shdr; |
| 35 | class ElfFile extends NativePointer { |
| 36 | constructor(pointer) { |
| 37 | super(pointer); |
| 38 | } |
| 39 | e_shnum() { |
| 40 | return this.add(0x3c).readU16(); |
| 41 | } |
| 42 | e_shoff() { |
| 43 | return this.add(0x28).readU64(); |
| 44 | } |
| 45 | } |
| 46 | exports.ElfFile = ElfFile; |
| 47 | class SoInfo extends NativePointer { |
| 48 | constructor(pointer) { |
nothing calls this directly
no outgoing calls
no test coverage detected