Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 07 / musl125 getopt long only abbreviation permutation argument scanner

Recover the complete CLI option scan, argument consumption, errors, flag assignments and operand permutation under pinned musl behavior.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-07/musl125-getopt-long-only-abbreviation-permutation-argument-scanner

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "getopt"
      ],
      "properties": {
        "getopt": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "argv",
                "flags",
                "long_only",
                "long_options",
                "optstring"
              ],
              "properties": {
                "argv": {
                  "$ref": "#/properties/artifact/%24defs/s1"
                },
                "flags": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  },
                  "maxItems": 512
                },
                "long_only": {
                  "type": "boolean"
                },
                "long_options": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "argument",
                      "flag",
                      "name",
                      "value"
                    ],
                    "properties": {
                      "argument": {
                        "type": "number"
                      },
                      "flag": {
                        "anyOf": [
                          {
                            "$ref": "#/properties/artifact/%24defs/json"
                          },
                          {
                            "type": "number"
                          }
                        ]
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 20000
                      },
                      "value": {
                        "type": "number"
                      }
                    }
                  },
                  "maxItems": 512
                },
                "optstring": {
                  "type": "string",
                  "maxLength": 20000
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "calls",
                    "flags",
                    "optind",
                    "optopt",
                    "permuted_argv",
                    "remaining"
                  ],
                  "properties": {
                    "calls": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "long_index",
                          "optarg",
                          "optind",
                          "optopt",
                          "return_code"
                        ],
                        "properties": {
                          "long_index": {
                            "anyOf": [
                              {
                                "$ref": "#/properties/artifact/%24defs/json"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "optarg": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "optind": {
                            "type": "number"
                          },
                          "optopt": {
                            "type": "number"
                          },
                          "return_code": {
                            "type": "number"
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "flags": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      },
                      "maxItems": 512
                    },
                    "optind": {
                      "type": "number"
                    },
                    "optopt": {
                      "type": "number"
                    },
                    "permuted_argv": {
                      "type": "array",
                      "items": {
                        "$ref": "#/properties/artifact/%24defs/s0"
                      },
                      "maxItems": 512
                    },
                    "remaining": {
                      "$ref": "#/properties/artifact/%24defs/s1"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "json": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            },
            {
              "type": "number"
            },
            {
              "type": "string",
              "maxLength": 6000
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/properties/artifact/%24defs/json"
              },
              "maxItems": 512
            },
            {
              "type": "object",
              "maxProperties": 128,
              "additionalProperties": {
                "$ref": "#/properties/artifact/%24defs/json"
              }
            }
          ]
        },
        "s0": {
          "anyOf": [
            {
              "$ref": "#/properties/artifact/%24defs/json"
            },
            {
              "type": "string",
              "maxLength": 20000
            }
          ]
        },
        "s1": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 20000
          },
          "maxItems": 512
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →