| 1 | class 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected