Skip to content

Commit c856bfd

Browse files
committed
Formatting cleanup
1 parent 60a2399 commit c856bfd

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

common/constants.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ class ARCH_BITS(IntEnum):
124124
class MAGIC_BYTES(Enum):
125125
"""Magic byte signatures for executable files."""
126126

127-
ELF = [b"\x7F\x45\x4C\x46"]
127+
ELF = [b"\x7f\x45\x4c\x46"]
128128
MACH = [
129-
b"\xFE\xED\xFA\xCE",
130-
b"\xFE\xED\xFA\xCF",
131-
b"\xCE\xFA\xED\xFE",
132-
b"\xCF\xFA\xED\xFE",
129+
b"\xfe\xed\xfa\xce",
130+
b"\xfe\xed\xfa\xcf",
131+
b"\xce\xfa\xed\xfe",
132+
b"\xcf\xfa\xed\xfe",
133133
]
134134

135135

common/context_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def print_memory_address(self, addr: int, offset: int, size: int) -> None:
149149
# Add value to line
150150
err = SBError()
151151
memory_value = self.process.ReadMemory(addr, size, err)
152+
152153
if err.Success():
153154
line += f"0x{int.from_bytes(memory_value, 'little'):0{size * 2}x}"
154155
else:

0 commit comments

Comments
 (0)