refs #200 raise ValueError if an object doesn't have a name

This commit is contained in:
Michael Ligh
2020-07-01 20:51:22 +01:00
committed by ikelos
parent 944bf2174f
commit 87ff6dd87c
7 changed files with 14 additions and 6 deletions
@@ -52,7 +52,7 @@ class MutantScan(interfaces.plugins.PluginInterface):
try:
name = mutant.get_name()
except exceptions.InvalidAddressException:
except (ValueError, exceptions.InvalidAddressException):
name = renderers.NotApplicableValue()
yield (0, (format_hints.Hex(mutant.vol.offset), name))