Base NDRData to centralize some fields. It can't be instantiated
| 1467 | |
| 1468 | |
| 1469 | class NDRData(Packet): |
| 1470 | """Base NDRData to centralize some fields. It can't be instantiated""" |
| 1471 | fields_desc = [ |
| 1472 | EField( |
| 1473 | FieldLenField("args_length", None, fmt="I", length_of="blocks"), |
| 1474 | endianness_from=dce_rpc_endianness), |
| 1475 | EField( |
| 1476 | FieldLenField("max_count", None, fmt="I", length_of="blocks"), |
| 1477 | endianness_from=dce_rpc_endianness), |
| 1478 | EField( |
| 1479 | IntField("offset", 0), |
| 1480 | endianness_from=dce_rpc_endianness), |
| 1481 | EField( |
| 1482 | FieldLenField("actual_count", None, fmt="I", length_of="blocks"), |
| 1483 | endianness_from=dce_rpc_endianness), |
| 1484 | PacketListField("blocks", [], _guess_block_class, |
| 1485 | length_from=lambda p: p.args_length) |
| 1486 | ] |
| 1487 | |
| 1488 | def __new__(cls, name, bases, dct): |
| 1489 | raise NotImplementedError() |
| 1490 | |
| 1491 | |
| 1492 | class PNIOServiceReqPDU(Packet): |
nothing calls this directly
no test coverage detected
searching dependent graphs…