Skip to content

Commit

Permalink
Don't change log level for Corefile._parse_stack()
Browse files Browse the repository at this point in the history
If we don't want to see the log, don't print it. There are no spammy
debug logs anymore.

Fixes Gallopsled#1666
  • Loading branch information
peace-maker committed Jul 9, 2023
1 parent f1d5afe commit 9bba72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/elf/corefile.py
Expand Up @@ -666,7 +666,7 @@ def __init__(self, *a, **kw):
log.warn('Could not find the stack!')
self.stack = None

with context.local(bytes=self.bytes, log_level='warn'):
with context.local(bytes=self.bytes):
try:
self._parse_stack()
except ValueError:
Expand Down

0 comments on commit 9bba72f

Please sign in to comment.