| 45 | } |
| 46 | exports.ElfFile = ElfFile; |
| 47 | class SoInfo extends NativePointer { |
| 48 | constructor(pointer) { |
| 49 | super(pointer); |
| 50 | } |
| 51 | phnum() { |
| 52 | return this.add(0x8).readU64(); |
| 53 | } |
| 54 | base() { |
| 55 | return this.add(0x10).readU64().toString(0x10); |
| 56 | } |
| 57 | size() { |
| 58 | return this.add(0x18).readU64(); |
| 59 | } |
| 60 | } |
| 61 | exports.SoInfo = SoInfo; |
| 62 | exports.ElfDumper = { |
| 63 | findmmap: function () { |
nothing calls this directly
no outgoing calls
no test coverage detected