figuring out where a script appears based on a known address

This commit is contained in:
Bryan Bishop
2012-05-02 13:37:11 -05:00
parent faa73c5a47
commit 6973ec82ba
2 changed files with 31 additions and 1 deletions

View File

@@ -2295,6 +2295,10 @@ class Script:
if not label:
label = self.base_label + hex(self.address)
self.label = Label(name=label, address=address, object=self)
if "map_group" in kwargs.keys():
self.map_group = kwargs["map_group"]
if "map_id" in kwargs.keys():
self.map_id = kwargs["map_id"]
#parse the script at the address
if "use_old_parse" in kwargs.keys() and kwargs["use_old_parse"] == True:
self.old_parse(**kwargs)