
from envi.archs.arm import *

import disasm as th_disasm

class Thumb16Module(ArmModule):

    def __init__(self):
        ArmModule.__init__(self, name='thumb16')
        self._arch_dis = self._arch_thumb_dis


class ThumbModule(ArmModule):

    def __init__(self):
        ArmModule.__init__(self, name='thumb')
        self._arch_dis = self._arch_thumb_dis



@@ -68,27 +68,29 @@
 umb16Module(
-Arm
+Thumb
 Module):%0A%0A  
@@ -123,243 +123,48 @@
     
-ArmModule.__init__(self, name='thumb16')%0A        self._arch_dis = self._arch_thumb_dis%0A%0A%0Aclass ThumbModule(ArmModule):%0A%0A    def __init__(self):%0A        ArmModule.__init__(self, name='thumb')%0A        self._arch_dis = self._arch_thumb_dis%0A
+ThumbModule.__init__(self, name='thumb16')
 %0A%0A

unify the ThumbModule.