mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 23:59:48 -08:00
remove octal repr for hex values
This commit is contained in:
@@ -75,9 +75,7 @@ defineProps({
|
||||
const getTooltipContent = (data) => {
|
||||
if (data.typeValue === "number" || data.typeValue === "offset") {
|
||||
const decimalValue = parseInt(data.name, 16);
|
||||
const octalValue = "0o" + decimalValue.toString(8);
|
||||
return `Decimal: ${decimalValue}
|
||||
Octal: ${octalValue}`;
|
||||
return `Decimal: ${decimalValue}`;
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user