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

Method __repr__

pwnlib/filepointer.py:176–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

174 log.error("Unknown variable %r" % item)
175
176 def __repr__(self):
177 structure=[]
178 for i in self.vars_:
179 structure.append(" %s: %#x" % (i, getattr(self, i)))
180 return "{"+ "\n".join(structure)+"}"
181
182 def __len__(self):
183 return len(bytes(self))

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected