Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F NIGHT ECMA / ecmascript resizable buffer typed view witness trace

An offline JavaScript binary-view test agent needs fixed-length versus length-tracking TypedArray view dimensions and out-of-bounds recovery across supplied buffer resize/detach indications. One rule for all element sizes, no buffer I/O or decoded values.

POST https://detect.halowerk.com/v1/F-NIGHT-ECMA/ecmascript-resizable-buffer-typed-view-witness-trace

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": [
        "typed_views"
      ],
      "properties": {
        "typed_views": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "buffer_length",
            "max_length",
            "views",
            "events",
            "claim"
          ],
          "properties": {
            "buffer_length": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "max_length": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "views": {
              "type": "array",
              "minItems": 1,
              "maxItems": 8,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "offset",
                  "element_size",
                  "length"
                ],
                "properties": {
                  "offset": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000
                  },
                  "element_size": {
                    "enum": [
                      1,
                      2,
                      4,
                      8
                    ]
                  },
                  "length": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                }
              }
            },
            "events": {
              "type": "array",
              "minItems": 0,
              "maxItems": 16,
              "items": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "resize"
                    ],
                    "properties": {
                      "resize": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 2000000
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "detach"
                    ],
                    "properties": {
                      "detach": {
                        "const": true
                      }
                    }
                  }
                ]
              }
            },
            "claim": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "trace"
              ],
              "properties": {
                "trace": {
                  "type": "array",
                  "minItems": 0,
                  "maxItems": 17,
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "buffer_byte_length",
                      "detached",
                      "completion",
                      "views"
                    ],
                    "properties": {
                      "buffer_byte_length": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                      },
                      "detached": {
                        "type": "boolean"
                      },
                      "completion": {
                        "enum": [
                          "initial",
                          "normal",
                          "admitted_detach",
                          "TypeError",
                          "RangeError"
                        ]
                      },
                      "views": {
                        "type": "array",
                        "minItems": 0,
                        "maxItems": 8,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "length",
                            "byte_length",
                            "byte_offset",
                            "out_of_bounds"
                          ],
                          "properties": {
                            "length": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 1000000
                            },
                            "byte_length": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 1000000
                            },
                            "byte_offset": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 1000000
                            },
                            "out_of_bounds": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

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 →