Skip to content

Commit 30046d8

Browse files
ucgJheucgJhe
authored andcommitted
more comment
1 parent c1068de commit 30046d8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

qiling/debugger/qdb/utils.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ def print_info(msg):
4949

5050
print(color_coated)
5151

52+
"""
53+
54+
class Marker provide the ability for marking an address as a more easier rememberable alias
55+
56+
"""
5257

5358
def setup_address_marker():
5459

@@ -57,10 +62,18 @@ def __init__(self):
5762
self._mark_list = {}
5863

5964
def get_symbol(self, sym):
65+
"""
66+
get the mapped address to a symbol if it's in the mark_list
67+
"""
68+
6069
return self._mark_list.get(sym, None)
6170

6271
@property
6372
def mark_list(self):
73+
"""
74+
get a list about what we marked
75+
"""
76+
6477
return self._mark_list.items()
6578

6679
def gen_sym_name(self):

0 commit comments

Comments
 (0)