mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-04 21:30:22 +08:00
Merge remote-tracking branch
'origin/GP-4856_d-millar_attributes_missing' (Closes #6825)
This commit is contained in:
@@ -1413,9 +1413,9 @@ def update_by_container(np, keyval, obj):
|
|||||||
if np.endswith("Frames"):
|
if np.endswith("Frames"):
|
||||||
mo = util.get_object(obj.path)
|
mo = util.get_object(obj.path)
|
||||||
map = util.get_attributes(mo)
|
map = util.get_attributes(mo)
|
||||||
|
if 'Attributes' in map:
|
||||||
attr = map["Attributes"]
|
attr = map["Attributes"]
|
||||||
if attr is None:
|
if attr is not None:
|
||||||
return
|
|
||||||
map = util.get_attributes(attr)
|
map = util.get_attributes(attr)
|
||||||
pc = util.get_value(map["InstructionOffset"])
|
pc = util.get_value(map["InstructionOffset"])
|
||||||
(pc_base, pc_addr) = map_address(pc)
|
(pc_base, pc_addr) = map_address(pc)
|
||||||
|
|||||||
Reference in New Issue
Block a user