MCPcopy Create free account
hub / github.com/clienthax/Ps3GhidraScripts / ElfSection

Class ElfSection

ghidra_scripts/ElfSection.java:1–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class ElfSection implements Comparable<ElfSection> {
2
3 private long vAddr;
4 private long size;
5
6 public ElfSection(long vAddr, long size) {
7 this.vAddr = vAddr;
8 this.size = size;
9 }
10
11 public long getvAddr() {
12 return vAddr;
13 }
14
15 public long getSize() {
16 return size;
17 }
18
19 public int compareTo(ElfSection compareElfSection) {
20 return (int) (this.vAddr - compareElfSection.vAddr);
21 }
22
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected