mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
Merge remote-tracking branch 'origin/GP-5789_Dan_fixModulesWithOneZeroLengthSection' into patch
This commit is contained in:
commit
e28df99d96
1 changed files with 4 additions and 1 deletions
|
@ -1280,6 +1280,9 @@ def put_modules(modules: Optional[Dict[str, util.Module]] = None,
|
|||
base_base, base_addr = mapper.map(inf, m.base)
|
||||
if base_base != base_addr.space:
|
||||
trace.create_overlay_space(base_base, base_addr.space)
|
||||
if m.max == m.base:
|
||||
modobj.set_value('Base', m.base)
|
||||
else:
|
||||
modobj.set_value('Range', base_addr.extend(m.max - m.base))
|
||||
if sections:
|
||||
sec_keys = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue