MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / wrap_up

Method wrap_up

pythonmemorymodule/pefile.py:1353–1360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1351 self._format = fmt
1352
1353 def wrap_up(self):
1354 if self._type is None:
1355 return
1356 self._format.append(self._type + "," + self._name)
1357 self._comp_fields[len(self._format) - 1] = (self._type, self._subfields)
1358 self._name = "~"
1359 self._type = None
1360 self._subfields = []
1361
1362 def new_type(self, tp):
1363 self._bits_left = STRUCT_SIZEOF_TYPES[tp] * 8

Callers 1

set_bitfields_formatFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected