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

Method __setattr__

pwnlib/filepointer.py:170–174  ·  view source on GitHub ↗
(self,item,value)

Source from the content-addressed store, hash-verified

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_:
172 object.__setattr__(self,item,value)
173 else:
174 log.error("Unknown variable %r" % item)
175
176 def __repr__(self):
177 structure=[]

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected