mirror of
https://github.com/mandiant/capa.git
synced 2026-03-12 21:23:12 -07:00
web: fix class feature type (#2331)
This commit is contained in:
@@ -490,6 +490,8 @@ function getFeatureName(feature) {
|
|||||||
return formatBytes(feature.bytes);
|
return formatBytes(feature.bytes);
|
||||||
case "operand offset":
|
case "operand offset":
|
||||||
return `operand[${feature.index}].offset: 0x${feature.operand_offset.toString(16).toUpperCase()}`;
|
return `operand[${feature.index}].offset: 0x${feature.operand_offset.toString(16).toUpperCase()}`;
|
||||||
|
case "class":
|
||||||
|
return `${feature.class_}`;
|
||||||
default:
|
default:
|
||||||
return `${feature[feature.type]}`;
|
return `${feature[feature.type]}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user