We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a196140 + 84a2233 commit 6414c66Copy full SHA for 6414c66
volatility3/framework/symbols/linux/extensions/__init__.py
@@ -1299,7 +1299,7 @@ def is_equal(self, vfsmount_ptr) -> bool:
1299
bool: 'True' if the given argument points to the the same 'vfsmount'
1300
as 'self'.
1301
"""
1302
- if type(vfsmount_ptr) == objects.Pointer:
+ if isinstance(vfsmount_ptr, objects.Pointer):
1303
return self.vol.offset == vfsmount_ptr
1304
else:
1305
raise exceptions.VolatilityException(
0 commit comments