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

Class NDRAlign

scapy/layers/dcerpc.py:1483–1492  ·  view source on GitHub ↗

ReversePadField modified to fit NDR. - If no align size is specified, use the one from the inner field - Size is calculated from the beginning of the NDR stream

Source from the content-addressed store, hash-verified

1481
1482
1483class NDRAlign(_NDRAlign, ReversePadField):
1484 """
1485 ReversePadField modified to fit NDR.
1486
1487 - If no align size is specified, use the one from the inner field
1488 - Size is calculated from the beginning of the NDR stream
1489 """
1490
1491 def __init__(self, fld, align, padwith=None):
1492 super(NDRAlign, self).__init__(fld, align=align, padwith=padwith)
1493
1494
1495class _VirtualField(Field):

Callers 14

getfieldMethod · 0.85
addfieldMethod · 0.85
getfieldMethod · 0.85
addfieldMethod · 0.85
getfieldMethod · 0.85
addfieldMethod · 0.85
getfieldMethod · 0.85
addfieldMethod · 0.85
getfieldMethod · 0.85
addfieldMethod · 0.85
getfieldMethod · 0.85
addfieldMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…