mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 12:17:38 +02:00
Code Review: Don't use to-be-deprecated static natives
This was originally done to solve a problem where `f32` wasn't available in the native types from every kernel version. However, it ended up not being necessary - we can just omit `native_types` from the method call, and it will construct the types as-needed using the definition for `float` in `base_types` from the JSON files.
This commit is contained in:
@@ -65,8 +65,6 @@ class WindowStations(interfaces.plugins.PluginInterface):
|
||||
The name of the constructed GUI table
|
||||
"""
|
||||
|
||||
native_types = intermed.native.x64NativeTable
|
||||
|
||||
if not symbols.symbol_table_is_64bit(
|
||||
context=context, symbol_table_name=symbol_table
|
||||
):
|
||||
@@ -93,7 +91,6 @@ class WindowStations(interfaces.plugins.PluginInterface):
|
||||
sub_path=os.path.join("windows", "gui"),
|
||||
filename=symbol_filename,
|
||||
class_types=gui.class_types,
|
||||
native_types=native_types,
|
||||
table_mapping=table_mapping,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user