336 lines
7.8 KiB
JSON
336 lines
7.8 KiB
JSON
{
|
|
"observedRuntime": "fault",
|
|
"hello": {
|
|
"capabilities": [
|
|
"boot",
|
|
"reset",
|
|
"set_input",
|
|
"clear_input",
|
|
"advance",
|
|
"capture",
|
|
"get_state",
|
|
"get_fault",
|
|
"cancel",
|
|
"shutdown",
|
|
"memcard",
|
|
"memcard_mount",
|
|
"memcard_unmount",
|
|
"get_memcard_state",
|
|
"memcard_reconcile",
|
|
"memcard_continue_in_memory"
|
|
],
|
|
"limits": {
|
|
"callTimeoutMs": 60000,
|
|
"handshakeTimeoutMs": 5000,
|
|
"maxCommandBytes": 65536,
|
|
"maxFrames": 600,
|
|
"maxResponseBytes": 33554432,
|
|
"shutdownTimeoutMs": 5000
|
|
},
|
|
"protocolVersion": {
|
|
"major": 1,
|
|
"minor": 1
|
|
},
|
|
"runtimeVersion": "0.1.0",
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "hello"
|
|
},
|
|
"boot": {
|
|
"appId": 169,
|
|
"logicalFrameIndex": 0,
|
|
"pc": 0,
|
|
"stackTop": [],
|
|
"status": "running",
|
|
"tickIndex": 0
|
|
},
|
|
"advance": {
|
|
"completed": 0,
|
|
"fault": {
|
|
"kind": "vm_trap",
|
|
"pc": 64,
|
|
"summary": "PVM Trap 0x00000003 at PC 0x40 (opcode 0x00A5): Invalid typed value: Bounds (in function frame)",
|
|
"trap": {
|
|
"code": 3,
|
|
"message": "Invalid typed value: Bounds (in function frame)",
|
|
"opcode": 165,
|
|
"pc": 64,
|
|
"resource": null,
|
|
"span": {
|
|
"end": 85,
|
|
"file_id": 0,
|
|
"start": 76
|
|
}
|
|
}
|
|
},
|
|
"requested": 3,
|
|
"stop": "faulted"
|
|
},
|
|
"fault": {
|
|
"kind": "vm_trap",
|
|
"pc": 64,
|
|
"summary": "PVM Trap 0x00000003 at PC 0x40 (opcode 0x00A5): Invalid typed value: Bounds (in function frame)",
|
|
"trap": {
|
|
"code": 3,
|
|
"message": "Invalid typed value: Bounds (in function frame)",
|
|
"opcode": 165,
|
|
"pc": 64,
|
|
"resource": null,
|
|
"span": {
|
|
"end": 85,
|
|
"file_id": 0,
|
|
"start": 76
|
|
}
|
|
}
|
|
},
|
|
"state": {
|
|
"appId": 0,
|
|
"logicalFrameIndex": 0,
|
|
"pc": 0,
|
|
"stackTop": [],
|
|
"status": "faulted",
|
|
"tickIndex": 0
|
|
},
|
|
"workerTerminated": true,
|
|
"processExitCode": 0,
|
|
"transcript": [
|
|
{
|
|
"direction": "received",
|
|
"message": {
|
|
"capabilities": [
|
|
"boot",
|
|
"reset",
|
|
"set_input",
|
|
"clear_input",
|
|
"advance",
|
|
"capture",
|
|
"get_state",
|
|
"get_fault",
|
|
"cancel",
|
|
"shutdown",
|
|
"memcard",
|
|
"memcard_mount",
|
|
"memcard_unmount",
|
|
"get_memcard_state",
|
|
"memcard_reconcile",
|
|
"memcard_continue_in_memory"
|
|
],
|
|
"limits": {
|
|
"callTimeoutMs": 60000,
|
|
"handshakeTimeoutMs": 5000,
|
|
"maxCommandBytes": 65536,
|
|
"maxFrames": 600,
|
|
"maxResponseBytes": 33554432,
|
|
"shutdownTimeoutMs": 5000
|
|
},
|
|
"protocolVersion": {
|
|
"major": 1,
|
|
"minor": 1
|
|
},
|
|
"runtimeVersion": "0.1.0",
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "hello"
|
|
}
|
|
},
|
|
{
|
|
"direction": "sent",
|
|
"message": {
|
|
"requestId": "pbs-corpus-1",
|
|
"command": "initialize",
|
|
"params": {
|
|
"protocolVersion": {
|
|
"major": 1,
|
|
"minor": 1
|
|
},
|
|
"requiredCapabilities": [
|
|
"boot",
|
|
"advance",
|
|
"get_state",
|
|
"get_fault",
|
|
"shutdown"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"direction": "received",
|
|
"message": {
|
|
"requestId": "pbs-corpus-1",
|
|
"result": {
|
|
"capabilities": [
|
|
"boot",
|
|
"reset",
|
|
"set_input",
|
|
"clear_input",
|
|
"advance",
|
|
"capture",
|
|
"get_state",
|
|
"get_fault",
|
|
"cancel",
|
|
"shutdown",
|
|
"memcard",
|
|
"memcard_mount",
|
|
"memcard_unmount",
|
|
"get_memcard_state",
|
|
"memcard_reconcile",
|
|
"memcard_continue_in_memory"
|
|
],
|
|
"protocolVersion": {
|
|
"major": 1,
|
|
"minor": 1
|
|
}
|
|
},
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "response"
|
|
}
|
|
},
|
|
{
|
|
"direction": "sent",
|
|
"message": {
|
|
"requestId": "pbs-corpus-2",
|
|
"command": "boot",
|
|
"params": {
|
|
"path": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/build/pbs-installed-contracts/pln169-clean/artifacts/bounds-empty"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"direction": "received",
|
|
"message": {
|
|
"requestId": "pbs-corpus-2",
|
|
"result": {
|
|
"appId": 169,
|
|
"logicalFrameIndex": 0,
|
|
"pc": 0,
|
|
"stackTop": [],
|
|
"status": "running",
|
|
"tickIndex": 0
|
|
},
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "response"
|
|
}
|
|
},
|
|
{
|
|
"direction": "sent",
|
|
"message": {
|
|
"requestId": "pbs-corpus-3",
|
|
"command": "advance",
|
|
"params": {
|
|
"frames": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"direction": "received",
|
|
"message": {
|
|
"requestId": "pbs-corpus-3",
|
|
"result": {
|
|
"completed": 0,
|
|
"fault": {
|
|
"kind": "vm_trap",
|
|
"pc": 64,
|
|
"summary": "PVM Trap 0x00000003 at PC 0x40 (opcode 0x00A5): Invalid typed value: Bounds (in function frame)",
|
|
"trap": {
|
|
"code": 3,
|
|
"message": "Invalid typed value: Bounds (in function frame)",
|
|
"opcode": 165,
|
|
"pc": 64,
|
|
"resource": null,
|
|
"span": {
|
|
"end": 85,
|
|
"file_id": 0,
|
|
"start": 76
|
|
}
|
|
}
|
|
},
|
|
"requested": 3,
|
|
"stop": "faulted"
|
|
},
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "response"
|
|
}
|
|
},
|
|
{
|
|
"direction": "sent",
|
|
"message": {
|
|
"requestId": "pbs-corpus-4",
|
|
"command": "get_fault",
|
|
"params": {}
|
|
}
|
|
},
|
|
{
|
|
"direction": "received",
|
|
"message": {
|
|
"requestId": "pbs-corpus-4",
|
|
"result": {
|
|
"kind": "vm_trap",
|
|
"pc": 64,
|
|
"summary": "PVM Trap 0x00000003 at PC 0x40 (opcode 0x00A5): Invalid typed value: Bounds (in function frame)",
|
|
"trap": {
|
|
"code": 3,
|
|
"message": "Invalid typed value: Bounds (in function frame)",
|
|
"opcode": 165,
|
|
"pc": 64,
|
|
"resource": null,
|
|
"span": {
|
|
"end": 85,
|
|
"file_id": 0,
|
|
"start": 76
|
|
}
|
|
}
|
|
},
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "response"
|
|
}
|
|
},
|
|
{
|
|
"direction": "sent",
|
|
"message": {
|
|
"requestId": "pbs-corpus-5",
|
|
"command": "get_state",
|
|
"params": {}
|
|
}
|
|
},
|
|
{
|
|
"direction": "received",
|
|
"message": {
|
|
"requestId": "pbs-corpus-5",
|
|
"result": {
|
|
"appId": 0,
|
|
"logicalFrameIndex": 0,
|
|
"pc": 0,
|
|
"stackTop": [],
|
|
"status": "faulted",
|
|
"tickIndex": 0
|
|
},
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "response"
|
|
}
|
|
},
|
|
{
|
|
"direction": "sent",
|
|
"message": {
|
|
"requestId": "pbs-corpus-6",
|
|
"command": "shutdown",
|
|
"params": {}
|
|
}
|
|
},
|
|
{
|
|
"direction": "received",
|
|
"message": {
|
|
"requestId": "pbs-corpus-6",
|
|
"result": {
|
|
"closed": true
|
|
},
|
|
"sessionId": "ae0a6e6ce10848bf23c64bce7f5d6d16",
|
|
"type": "response"
|
|
}
|
|
}
|
|
],
|
|
"stderr": "",
|
|
"id": "bounds-empty",
|
|
"expectedRuntime": "fault",
|
|
"expectedFaultCode": 3,
|
|
"observedFaultCode": 3,
|
|
"matchesExpectation": true
|
|
}
|