Skip to content
HALOWERK

Codewerk

cfg copy propagation kills

Return copy facts at block entry and exit after assignment kills.

POST https://code.halowerk.com/v1/cfg-copy-propagation-kills

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
entrystringYes
blocksarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "entry": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1
    },
    "blocks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "operations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "to": {
                  "type": "string",
                  "maxLength": 32,
                  "minLength": 1
                },
                "from": {
                  "type": "string",
                  "maxLength": 32,
                  "minLength": 1
                },
                "kind": {
                  "enum": [
                    "copy",
                    "write"
                  ]
                }
              },
              "required": [
                "to",
                "from",
                "kind"
              ],
              "additionalProperties": false
            },
            "maxItems": 16,
            "minItems": 0
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 32,
              "minLength": 1
            },
            "maxItems": 32,
            "minItems": 0
          }
        },
        "required": [
          "id",
          "operations",
          "next"
        ],
        "additionalProperties": false
      },
      "maxItems": 16,
      "minItems": 1
    }
  },
  "required": [
    "entry",
    "blocks"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "entry": "A",
  "blocks": [
    {
      "id": "A",
      "operations": [
        {
          "to": "x",
          "from": "y",
          "kind": "copy"
        }
      ],
      "next": [
        "B"
      ]
    },
    {
      "id": "B",
      "operations": [
        {
          "to": "y",
          "from": "y",
          "kind": "write"
        }
      ],
      "next": []
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’