Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit a1f7d19

Browse files
committed
Remove unneeded translation override in the Lime address space
1 parent 5f685e5 commit a1f7d19

File tree

1 file changed

+0
-10
lines changed
  • volatility/plugins/addrspaces

1 file changed

+0
-10
lines changed

volatility/plugins/addrspaces/lime.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,3 @@ def parse_lime(self):
7979

8080
header = obj.Object("lime_header", offset = offset, vm = self.base)
8181

82-
def translate(self, addr):
83-
"""Find the offset in the file where a memory address can be found.
84-
@param addr: a memory address
85-
"""
86-
firstram = self.runs[0][0]
87-
88-
if addr < firstram:
89-
addr = firstram + addr
90-
91-
return addrspace.AbstractRunBasedMemory.translate(self, addr)

0 commit comments

Comments
 (0)