summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-02 13:37:11 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-02 13:37:11 -0500
commite6a7beb0138d2e51d614418bc12842aa254d419e (patch)
treea99a375a108534f4e852e593cc6a76387e2341f8 /crystal.py
parent8ae6d1089f9a5366b217b10c272e2b45bffaf7b4 (diff)
figuring out where a script appears based on a known address
original-commit-id: 6973ec82ba5f7e6cc978a73c44887c416fbaa498
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/crystal.py b/crystal.py
index e1f83fb..e468ab4 100644
--- a/crystal.py
+++ b/crystal.py
@@ -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)