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

Class Describe

scapy/contrib/postgres.py:446–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444
445
446class Describe(_ZeroPadding):
447 name = "Describe"
448 fields_desc = [
449 ByteTagField(b"D"),
450 FieldLenField(
451 "len", None, fmt="I", length_of="statement", adjust=lambda pkt, x: x + 6
452 ),
453 CharEnumField("close_type", b"S", enum=CLOSE_DESCRIBE_TYPE),
454 StrNullField("statement", ""),
455 ]
456
457
458class EmptyQueryResponse(_ZeroPadding):

Callers

nothing calls this directly

Calls 4

FieldLenFieldClass · 0.90
CharEnumFieldClass · 0.90
StrNullFieldClass · 0.90
ByteTagFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…