Пример #1
0
 def term():
     if Helper.temporary_structure:
         Helper.temporary_structure.clear()
     # Actions.unregister(Actions.CreateVtable)
     if hex_pytools_config:
         for ac in hex_pytools_config.actions:
             if hex_pytools_config.actions[ac]:
                 Actions.unregister(hex_pytools_config.actions_refs[ac])
     # Actions.unregister(Actions.ShowGraph)
     # Actions.unregister(Actions.ShowClasses)
     # Actions.unregister(Actions.GetStructureBySize)
     # Actions.unregister(Actions.RemoveArgument)
     # Actions.unregister(Actions.AddRemoveReturn)
     # Actions.unregister(Actions.ConvertToUsercall)
     # Actions.unregister(Actions.ShallowScanVariable)
     # Actions.unregister(Actions.DeepScanVariable)
     # Actions.unregister(Actions.DeepScanReturn)
     # Actions.unregister(Actions.RecognizeShape)
     # Actions.unregister(Actions.SelectContainingStructure)
     # Actions.unregister(Actions.ResetContainingStructure)
     # Actions.unregister(Actions.RecastItemRight)
     # Actions.unregister(Actions.RecastItemLeft)
     # Actions.unregister(Actions.RenameOther)
     # Actions.unregister(Actions.RenameInside)
     # Actions.unregister(Actions.RenameOutside)
     idaapi.term_hexrays_plugin()
Пример #2
0
    def term():
        if Cache.temporary_structure:
            Cache.temporary_structure.clear()
        # Actions.unregister(Actions.CreateVtable)
        ArrayCorrector.save_to_persistent()
        if Settings.hex_pytools_config:
            for ac in Settings.hex_pytools_config.actions:
                if Settings.hex_pytools_config.actions[ac]:
                    Actions.unregister(
                        Settings.hex_pytools_config.actions_refs[ac])

        # Actions.unregister(Actions.ShowGraph)
        # Actions.unregister(Actions.ShowClasses)
        # Actions.unregister(Actions.GetStructureBySize)
        # Actions.unregister(Actions.RemoveArgument)
        # Actions.unregister(Actions.AddRemoveReturn)
        # Actions.unregister(Actions.ConvertToUsercall)
        # Actions.unregister(Actions.ShallowScanVariable)
        # Actions.unregister(Actions.DeepScanVariable)
        # Actions.unregister(Actions.DeepScanReturn)
        # Actions.unregister(Actions.DeepScanFunctions)
        # Actions.unregister(Actions.RecognizeShape)
        # Actions.unregister(Actions.CreateNewField)
        # Actions.unregister(Actions.SelectContainingStructure)
        # Actions.unregister(Actions.ResetContainingStructure)
        # Actions.unregister(Actions.RecastItemRight)
        # Actions.unregister(Actions.RecastItemLeft)
        # Actions.unregister(Actions.RenameOther)
        # Actions.unregister(Actions.RenameInside)
        # Actions.unregister(Actions.RenameOutside)
        # Actions.unregister(Actions.RenameUsingAssert)
        # Actions.unregister(Actions.SwapThenElse)
        # Actions.unregister(Actions.FindFieldXrefs)
        # Actions.unregister(Actions.PropagateName)
        # Actions.unregister(Actions.GuessAllocation)

        idaapi.term_hexrays_plugin()
        XrefStorage().close()
Пример #3
0
 def term():
     if Cache.temporary_structure:
         Cache.temporary_structure.clear()
     # Actions.unregister(Actions.CreateVtable)
     Actions.unregister(Actions.ShowGraph)
     Actions.unregister(Actions.ShowClasses)
     Actions.unregister(Actions.GetStructureBySize)
     Actions.unregister(Actions.RemoveArgument)
     Actions.unregister(Actions.AddRemoveReturn)
     Actions.unregister(Actions.ConvertToUsercall)
     Actions.unregister(Actions.ShallowScanVariable)
     Actions.unregister(Actions.DeepScanVariable)
     Actions.unregister(Actions.DeepScanReturn)
     Actions.unregister(Actions.DeepScanFunctions)
     Actions.unregister(Actions.RecognizeShape)
     Actions.unregister(Actions.CreateNewField)
     Actions.unregister(Actions.SelectContainingStructure)
     Actions.unregister(Actions.ResetContainingStructure)
     Actions.unregister(Actions.RecastItemRight)
     Actions.unregister(Actions.RecastItemLeft)
     Actions.unregister(Actions.RenameOther)
     Actions.unregister(Actions.RenameInside)
     Actions.unregister(Actions.RenameOutside)
     Actions.unregister(Actions.RenameUsingAssert)
     Actions.unregister(Actions.SwapThenElse)
     Actions.unregister(Actions.FindFieldXrefs)
     Actions.unregister(Actions.PropagateName)
     Actions.unregister(Actions.GuessAllocation)
     idaapi.term_hexrays_plugin()
     XrefStorage().close()
Пример #4
0
 def term():
     if Helper.temporary_structure:
         Helper.temporary_structure.clear()
     Actions.unregister(Actions.CreateVtable)
     Actions.unregister(Actions.ShowGraph)
     Actions.unregister(Actions.ShowClasses)
     Actions.unregister(Actions.GetStructureBySize)
     Actions.unregister(Actions.RemoveArgument)
     Actions.unregister(Actions.AddRemoveReturn)
     Actions.unregister(Actions.ConvertToUsercall)
     Actions.unregister(Actions.ShallowScanVariable)
     Actions.unregister(Actions.DeepScanVariable)
     Actions.unregister(Actions.DeepScanReturn)
     Actions.unregister(Actions.DeepScanFunctions)
     Actions.unregister(Actions.RecognizeShape)
     Actions.unregister(Actions.CreateNewField)
     Actions.unregister(Actions.SelectContainingStructure)
     Actions.unregister(Actions.ResetContainingStructure)
     Actions.unregister(Actions.RecastItemRight)
     Actions.unregister(Actions.RecastItemLeft)
     Actions.unregister(Actions.RenameOther)
     Actions.unregister(Actions.RenameInside)
     Actions.unregister(Actions.RenameOutside)
     Actions.unregister(Actions.SwapThenElse)
     idaapi.term_hexrays_plugin()