MCPcopy
hub / github.com/Gallopsled/pwntools / local

Method local

pwnlib/timeout.py:203–211  ·  view source on GitHub ↗

Scoped timeout setter. Sets the timeout within the scope, and restores it when leaving the scope.

(self, timeout)

Source from the content-addressed store, hash-verified

201 return _countdown_handler(self, timeout)
202
203 def local(self, timeout):
204 """
205 Scoped timeout setter. Sets the timeout within the scope,
206 and restores it when leaving the scope.
207 """
208 if timeout is self.default or timeout == self.timeout:
209 return _DummyContext
210
211 return _local_handler(self, timeout)

Callers 10

__init__.pyFile · 0.45
which_binutilsFunction · 0.45
setLevelMethod · 0.45
levelMethod · 0.45
__init__Method · 0.45
lookupMethod · 0.45
_run_handlersFunction · 0.45
corefileFunction · 0.45
_run_handlersFunction · 0.45
LOG_LEVELFunction · 0.45

Calls 1

_local_handlerClass · 0.85

Tested by

no test coverage detected