Skip to content

Commit 9284ce9

Browse files
committed
fix typo
1 parent 4058e84 commit 9284ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angrop/chain_builder/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def write_to_mem(self, addr, data, fill_byte=b"\xff"):
476476
for elem in elems:
477477
ptr = addr + offset
478478
if self._contain_badbyte(ptr):
479-
raise RopException(f"{ptr:%#x} contains bad byte!")
479+
raise RopException(f"{ptr:#x} contains bad byte!")
480480
if elem not in self.badbytes:
481481
chain += self._write_to_mem(ptr, elem, fill_byte=fill_byte)
482482
offset += len(elem)

0 commit comments

Comments
 (0)