adding support for arch, os, and format features

This commit is contained in:
Michael Hunhoff
2021-09-02 08:26:55 -06:00
parent a363baffce
commit 217e6f88d9
2 changed files with 4 additions and 0 deletions

View File

@@ -95,6 +95,7 @@
- explorer: add option to limit features to currently selected disassembly address #692 @mike-hunhoff
- explorer: update support documentation and runtime checks #741 @mike-hunhoff
- explorer: small performance boost to rule generator search functionality #742 @mike-hunhoff
- explorer: add support for arch, os, and format features #758 @mike-hunhoff
### Development

View File

@@ -603,6 +603,9 @@ class CapaExplorerDataModel(QtCore.QAbstractItemModel):
# display no preview
return CapaExplorerFeatureItem(parent, location=location, display=display)
if feature["type"] in ("arch", "os", "format"):
return CapaExplorerFeatureItem(parent, display=display)
raise RuntimeError("unexpected feature type: " + str(feature["type"]))
def update_function_name(self, old_name, new_name):