mirror of
https://github.com/mandiant/capa.git
synced 2026-04-28 11:53:20 -07:00
committed by
Willi Ballenthin
parent
aa9f09db89
commit
9954d99402
@@ -46,6 +46,8 @@
|
||||
|
||||
- fix: render_default always returns empty string @williballenthin #3012
|
||||
|
||||
- fix: freeze/__init__.py: logically impossible condition @williballenthin #3030
|
||||
|
||||
### capa Explorer Web
|
||||
|
||||
### capa Explorer IDA Pro plugin
|
||||
|
||||
@@ -102,9 +102,6 @@ class Address(HashableModel):
|
||||
elif a == capa.features.address.NO_ADDRESS or isinstance(a, capa.features.address._NoAddress):
|
||||
return cls(type=AddressType.NO_ADDRESS, value=None)
|
||||
|
||||
elif isinstance(a, capa.features.address.Address) and not issubclass(type(a), capa.features.address.Address):
|
||||
raise ValueError("don't use an Address instance directly")
|
||||
|
||||
elif isinstance(a, capa.features.address.Address):
|
||||
raise ValueError("don't use an Address instance directly")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user