Removed extensions when defining nxo address classes.

This commit is contained in:
Cody Brocious 2017-08-21 10:43:20 -06:00
parent 72f548463d
commit e695a2d966

2
ctu.py
View file

@ -396,7 +396,7 @@ class CTU(Cmd, object):
self.map(loadbase, len(full) + bsssize)
self.writemem(loadbase, full)
defineAddressClass(fn.rsplit('/', 1)[-1].title(), loadbase, len(full))
defineAddressClass(fn.rsplit('/', 1)[-1].split('.', 1)[0].title(), loadbase, len(full))
if relocate:
return relocation.relocate(self, loadbase)