mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Revert module qualification changes for now
Underlying implementation may have some issues on Linux; to be investigated later.
This commit is contained in:
+2
-2
@@ -241,7 +241,7 @@ Module.enumerateExports(\"%s\", {
|
||||
send(exports);
|
||||
}
|
||||
});
|
||||
""" % self.path.replace("\\", "\\\\"))
|
||||
""" % self.name)
|
||||
self._exports = []
|
||||
for export in _execute_script(script):
|
||||
relative_address = int(export["address"], 16) - self.base_address
|
||||
@@ -264,7 +264,7 @@ Module.enumerateRanges(\"%s\", \"%s\", {
|
||||
send(ranges);
|
||||
}
|
||||
});
|
||||
""" % (self.path.replace("\\", "\\\\"), protection))
|
||||
""" % (self.name, protection))
|
||||
return [Range(int(data['base'], 16), data['size'], data['protection']) for data in _execute_script(script)]
|
||||
|
||||
def _do_ensure_function(self, relative_address):
|
||||
|
||||
Reference in New Issue
Block a user