meson: Generate fuzzer inputs with directives
The lists of directives for fuzzer tests are maintained manually in the repo. There is a tools/check-directives.sh script that runs during test phase and reports stale directive lists. Let's rework the script into a generator so that these directive files are created on-the-flight and needn't be updated whenever a unit file directives change. The scripts is rewritten in Python to get rid of gawk dependency and each generated file is a separate meson target so that incremental builds refresh what is just necessary (and parallelize (negligible)). Note: test/fuzz/fuzz-unit-file/directives-all.slice is kept since there is not automated way to generate it (it is not covered by the check script neither).
This commit is contained in:
@@ -1,258 +0,0 @@
|
||||
[VLAN]
|
||||
MVRP=
|
||||
LooseBinding=
|
||||
ReorderHeader=
|
||||
Id=
|
||||
GVRP=
|
||||
Protocol=
|
||||
EgressQOSMaps=
|
||||
IngressQOSMaps=
|
||||
[MACVLAN]
|
||||
Mode=
|
||||
SourceMACAddress=
|
||||
BroadcastMulticastQueueLength=
|
||||
[WireGuard]
|
||||
ListenPort=
|
||||
PrivateKey=
|
||||
PrivateKeyFile=
|
||||
FwMark=
|
||||
FirewallMark=
|
||||
RouteTable=
|
||||
RouteMetric=
|
||||
[MACVTAP]
|
||||
Mode=
|
||||
SourceMACAddress=
|
||||
[Match]
|
||||
Architecture=
|
||||
Credential=
|
||||
Firmware=
|
||||
Host=
|
||||
KernelCommandLine=
|
||||
KernelVersion=
|
||||
Virtualization=
|
||||
[GENEVE]
|
||||
DestinationPort=
|
||||
TTL=
|
||||
UDP6ZeroCheckSumTx=
|
||||
TOS=
|
||||
Id=
|
||||
UDPChecksum=
|
||||
UDP6ZeroChecksumTx=
|
||||
FlowLabel=
|
||||
UDP6ZeroChecksumRx=
|
||||
Remote=
|
||||
UDP6ZeroCheckSumRx=
|
||||
IPDoNotFragment=
|
||||
[Bridge]
|
||||
ForwardDelaySec=
|
||||
HelloTimeSec=
|
||||
MaxAgeSec=
|
||||
STP=
|
||||
MulticastSnooping=
|
||||
DefaultPVID=
|
||||
MulticastQuerier=
|
||||
AgeingTimeSec=
|
||||
Priority=
|
||||
GroupForwardMask=
|
||||
VLANFiltering=
|
||||
VLANProtocol=
|
||||
MulticastIGMPVersion=
|
||||
[VRF]
|
||||
TableId=
|
||||
Table=
|
||||
[Peer]
|
||||
MACAddress=
|
||||
Name=
|
||||
[WireGuardPeer]
|
||||
Endpoint=
|
||||
PresharedKey=
|
||||
PresharedKeyFile=
|
||||
PersistentKeepalive=
|
||||
PublicKey=
|
||||
AllowedIPs=
|
||||
RouteTable=
|
||||
RouteMetric=
|
||||
[Tunnel]
|
||||
FooOverUDP=
|
||||
IPv6FlowLabel=
|
||||
Remote=
|
||||
AllowLocalRemote=
|
||||
Local=
|
||||
TOS=
|
||||
Independent=
|
||||
AssignToLoopback=
|
||||
Key=
|
||||
InputKey=
|
||||
Encapsulation=
|
||||
Mode=
|
||||
OutputKey=
|
||||
DiscoverPathMTU=
|
||||
FOUDestinationPort=
|
||||
CopyDSCP=
|
||||
EncapsulationLimit=
|
||||
TTL=
|
||||
FOUSourcePort=
|
||||
IPv6RapidDeploymentPrefix=
|
||||
ERSPANVersion=
|
||||
ERSPANIndex=
|
||||
ERSPANDirection=
|
||||
ERSPANHardwareId=
|
||||
SerializeTunneledPackets=
|
||||
ISATAP=
|
||||
External=
|
||||
[VXLAN]
|
||||
UDP6ZeroChecksumRx=
|
||||
ARPProxy=
|
||||
FlowLabel=
|
||||
Local=
|
||||
RemoteChecksumTx=
|
||||
RouteShortCircuit=
|
||||
Remote=
|
||||
L3MissNotification=
|
||||
Group=
|
||||
FDBAgeingSec=
|
||||
MacLearning=
|
||||
Id=
|
||||
VNI=
|
||||
RemoteChecksumRx=
|
||||
TOS=
|
||||
L2MissNotification=
|
||||
UDP6ZeroChecksumTx=
|
||||
UDP6ZeroCheckSumRx=
|
||||
UDPCheckSum=
|
||||
GroupPolicyExtension=
|
||||
GenericProtocolExtension=
|
||||
MaximumFDBEntries=
|
||||
TTL=
|
||||
DestinationPort=
|
||||
ReduceARPProxy=
|
||||
PortRange=
|
||||
UDPChecksum=
|
||||
UDP6ZeroCheckSumTx=
|
||||
IPDoNotFragment=
|
||||
Independent=
|
||||
[VXCAN]
|
||||
Peer=
|
||||
[Bond]
|
||||
LearnPacketIntervalSec=
|
||||
TransmitHashPolicy=
|
||||
MIIMonitorSec=
|
||||
PacketsPerSlave=
|
||||
DownDelaySec=
|
||||
PrimaryReselectPolicy=
|
||||
ResendIGMP=
|
||||
ARPAllTargets=
|
||||
AdActorSystemPriority=
|
||||
UpDelaySec=
|
||||
AdSelect=
|
||||
AdActorSystem=
|
||||
AdUserPortKey=
|
||||
FailOverMACPolicy=
|
||||
ARPValidate=
|
||||
Mode=
|
||||
GratuitousARP=
|
||||
ARPIPTargets=
|
||||
MinLinks=
|
||||
LACPTransmitRate=
|
||||
ARPIntervalSec=
|
||||
AllSlavesActive=
|
||||
DynamicTransmitLoadBalancing=
|
||||
[FooOverUDP]
|
||||
Protocol=
|
||||
Port=
|
||||
PeerPort=
|
||||
Encapsulation=
|
||||
Local=
|
||||
Peer=
|
||||
[Tap]
|
||||
MultiQueue=
|
||||
OneQueue=
|
||||
User=
|
||||
Group=
|
||||
PacketInfo=
|
||||
VNetHeader=
|
||||
KeepCarrier=
|
||||
[IPVLAN]
|
||||
Mode=
|
||||
Flags=
|
||||
[IPVTAP]
|
||||
Mode=
|
||||
Flags=
|
||||
[Tun]
|
||||
OneQueue=
|
||||
MultiQueue=
|
||||
PacketInfo=
|
||||
VNetHeader=
|
||||
Group=
|
||||
User=
|
||||
KeepCarrier=
|
||||
[NetDev]
|
||||
Kind=
|
||||
MACAddress=
|
||||
MTUBytes=
|
||||
Description=
|
||||
Name=
|
||||
[L2TP]
|
||||
TunnelId=
|
||||
PeerTunnelId=
|
||||
UDPSourcePort=
|
||||
UDPDestinationPort=
|
||||
Local=
|
||||
Remote=
|
||||
EncapsulationType=
|
||||
UDPCheckSum=
|
||||
UDP6CheckSumRx=
|
||||
UDP6CheckSumTx=
|
||||
[L2TPSession]
|
||||
SessionId=
|
||||
PeerSessionId=
|
||||
Layer2SpecificHeader=
|
||||
Name=
|
||||
[MACsec]
|
||||
Port=
|
||||
Encrypt=
|
||||
[MACsecReceiveAssociation]
|
||||
Port=
|
||||
MACAddress=
|
||||
PacketNumber=
|
||||
KeyId=
|
||||
Key=
|
||||
KeyFile=
|
||||
Activate=
|
||||
UseForEncoding=
|
||||
[MACsecReceiveChannel]
|
||||
Port=
|
||||
MACAddress=
|
||||
[MACsecTransmitAssociation]
|
||||
PacketNumber=
|
||||
KeyId=
|
||||
Key=
|
||||
KeyFile=
|
||||
Activate=
|
||||
[Xfrm]
|
||||
Independent=
|
||||
InterfaceId=
|
||||
[BareUDP]
|
||||
DestinationPort=
|
||||
EtherType=
|
||||
[BatmanAdvanced]
|
||||
GatewayMode=
|
||||
Aggregation=
|
||||
BridgeLoopAvoidance=
|
||||
DistributedArpTable=
|
||||
Fragmentation=
|
||||
HopPenalty=
|
||||
OriginatorIntervalSec=
|
||||
GatewayBandwithDown=
|
||||
GatewayBandwithUp=
|
||||
GatewayBandwidthDown=
|
||||
GatewayBandwidthUp=
|
||||
RoutingAlgorithm=
|
||||
[IPoIB]
|
||||
PartitionKey=
|
||||
Mode=
|
||||
IgnoreUserspaceMulticastGroups=
|
||||
[WLAN]
|
||||
PhysicalDevice=
|
||||
Type=
|
||||
WDS=
|
||||
Reference in New Issue
Block a user