Skip to content

Commit 5c21f4a

Browse files
authored
Small readability improvements
1 parent a26ff8f commit 5c21f4a

File tree

1 file changed

+1
-3
lines changed
  • volatility3/framework/automagic

1 file changed

+1
-3
lines changed

volatility3/framework/automagic/mac.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,7 @@ def find_aslr(
184184
for offset, banner in offset_generator:
185185
banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[:2])
186186

187-
aslr_shift = offset - cls.virtual_to_physical_address(
188-
version_json_address
189-
)
187+
aslr_shift = offset - cls.virtual_to_physical_address(version_json_address)
190188

191189
major_string = context.layers[layer_name].read(
192190
version_major_phys_offset + aslr_shift, 4

0 commit comments

Comments
 (0)