mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 13:17:38 +02:00
add support for objective C classes in OSX and json format
This commit is contained in:
@@ -647,6 +647,8 @@ class Struct(interfaces.objects.ObjectInterface):
|
||||
class Union(Struct):
|
||||
pass
|
||||
|
||||
class vol_class(Struct):
|
||||
pass
|
||||
|
||||
# Really nasty way of duplicating the class
|
||||
# WILL cause problems with any mutable class/static variables
|
||||
|
||||
@@ -342,7 +342,7 @@ class Version1Format(ISFormatTable):
|
||||
return native_template
|
||||
|
||||
# Otherwise
|
||||
if dictionary['kind'] not in ['struct', 'union']:
|
||||
if dictionary['kind'] not in ['struct', 'union', 'vol_class']:
|
||||
raise exceptions.SymbolSpaceError("Unknown Intermediate format: {}".format(dictionary))
|
||||
|
||||
reference_name = dictionary['name']
|
||||
|
||||
Reference in New Issue
Block a user