MCPcopy Create free account
hub / github.com/secdev/scapy / do_dissect

Method do_dissect

scapy/layers/dcerpc.py:1392–1402  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

1390 super(_NDRPacket, self).__init__(*args, **kwargs)
1391
1392 def do_dissect(self, s):
1393 _up = self.parent or self.underlayer
1394 if _up and isinstance(_up, _NDRPacket):
1395 self.ndr64 = _up.ndr64
1396 self.ndrendian = _up.ndrendian
1397 else:
1398 # See comment above NDRConstructedType
1399 return NDRConstructedType([]).read_deferred_pointers(
1400 self, super(_NDRPacket, self).do_dissect(s)
1401 )
1402 return super(_NDRPacket, self).do_dissect(s)
1403
1404 def post_dissect(self, s):
1405 if self.deferred_pointers:

Callers

nothing calls this directly

Calls 3

NDRConstructedTypeClass · 0.85
do_dissectMethod · 0.45

Tested by

no test coverage detected