Skip to content

Commit 571e28a

Browse files
Kyle-Kylerhelmot
authored andcommitted
we may generate engine errors during chain generation
1 parent e629274 commit 571e28a

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
@@ -273,7 +273,7 @@ def write_to_mem(self, addr, string_data, fill_byte=b"\xff"):# pylint:disable=in
273273
while gadget:
274274
try:
275275
return self._try_write_to_mem(gadget, use_partial_controllers, addr, string_data, fill_byte)
276-
except RopException:
276+
except (RopException, angr.errors.SimEngineError):
277277
pass
278278
gadget, use_partial_controllers = next(gen, (None, None))
279279

0 commit comments

Comments
 (0)