vmray: add logging for skipped deref param types

This commit is contained in:
Mike Hunhoff
2024-07-17 12:27:14 -06:00
parent cc87ef39d5
commit 100df45cc0

View File

@@ -27,6 +27,8 @@ def get_call_param_features(param: Param, ch: CallHandle) -> Iterator[Tuple[Feat
yield Number(hexint(param.deref.value)), ch.address
elif param.deref.type_ in PARAM_TYPE_STR:
yield String(param.deref.value), ch.address
else:
logger.debug("skipping deref param type %s", param.deref.type_)
elif param.value is not None:
if param.type_ in PARAM_TYPE_INT:
yield Number(hexint(param.value)), ch.address