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

Method __init__

pwnlib/filepointer.py:164–168  ·  view source on GitHub ↗
(self, null=0)

Source from the content-addressed store, hash-verified

162 length={}
163
164 def __init__(self, null=0):
165 self.vars_ = [variables[i]['name'] for i in sorted(variables.keys())]
166 self.setdefault(null)
167 self.length = update_var(context.bytes)
168 self._old_offset = (1 << context.bits) - 1
169
170 def __setattr__(self,item,value):
171 if item in FileStructure.__dict__ or item in self.vars_:

Callers

nothing calls this directly

Calls 3

setdefaultMethod · 0.95
update_varFunction · 0.85
keysMethod · 0.80

Tested by

no test coverage detected