examples/synthetic-comparison.json
{
"schema_version": 1,
"kind": "comparison",
"before": {
"schema_version": 1,
"label": "send.txt",
"provenance": "synthetic",
"authenticity": "Input provenance is supplied by the caller, not independently verified.",
"input_sha256": "7b43dca32e364c14863f9cd897f381188504a279d3f0bc404f44e9e1551995cb",
"qnx_reference": "https://www.qnx.com/developers/docs/8.0/com.qnx.doc.neutrino.utilities/topic/p/pidin.html",
"caution": "pidin queries processes sequentially; this is not an atomic snapshot. Process-level cycle candidates do not prove deadlock. Destination threads and timing guarantees cannot be inferred. PID/TID reuse can affect comparisons.",
"summary": {
"processes": 2,
"threads": 2,
"ipc_waits": 1,
"zombies": 0,
"states": {
"NANOSLEEP": 1,
"SEND": 1
}
},
"threads": [
{
"pid": 100,
"tid": 1,
"name": "./waitlens_probe",
"priority": 10,
"policy": "r",
"state": "NANOSLEEP",
"blocked": "",
"line": 2
},
{
"pid": 101,
"tid": 1,
"name": "./waitlens_probe",
"priority": 10,
"policy": "r",
"state": "SEND",
"blocked": "100",
"line": 3
}
],
"edges": [
{
"source_pid": 101,
"source_tid": 1,
"destination_pid": 100,
"state": "SEND",
"destination_observed": true,
"line": 3
}
],
"cycle_candidates": [],
"zombie_pids": [],
"warnings": []
},
"after": {
"schema_version": 1,
"label": "reply.txt",
"provenance": "synthetic",
"authenticity": "Input provenance is supplied by the caller, not independently verified.",
"input_sha256": "eca51830e1ee9499b54923c8ecbfd760ef018c0784d8e840d1c9c4a9b161f036",
"qnx_reference": "https://www.qnx.com/developers/docs/8.0/com.qnx.doc.neutrino.utilities/topic/p/pidin.html",
"caution": "pidin queries processes sequentially; this is not an atomic snapshot. Process-level cycle candidates do not prove deadlock. Destination threads and timing guarantees cannot be inferred. PID/TID reuse can affect comparisons.",
"summary": {
"processes": 2,
"threads": 2,
"ipc_waits": 1,
"zombies": 0,
"states": {
"NANOSLEEP": 1,
"REPLY": 1
}
},
"threads": [
{
"pid": 100,
"tid": 1,
"name": "./waitlens_probe",
"priority": 10,
"policy": "r",
"state": "NANOSLEEP",
"blocked": "",
"line": 2
},
{
"pid": 101,
"tid": 1,
"name": "./waitlens_probe",
"priority": 10,
"policy": "r",
"state": "REPLY",
"blocked": "100",
"line": 3
}
],
"edges": [
{
"source_pid": 101,
"source_tid": 1,
"destination_pid": 100,
"state": "REPLY",
"destination_observed": true,
"line": 3
}
],
"cycle_candidates": [],
"zombie_pids": [],
"warnings": []
},
"caution": "pidin queries processes sequentially; this is not an atomic snapshot. Process-level cycle candidates do not prove deadlock. Destination threads and timing guarantees cannot be inferred. PID/TID reuse can affect comparisons.",
"changes": [
{
"pid": 101,
"tid": 1,
"kind": "changed",
"before": {
"pid": 101,
"tid": 1,
"name": "./waitlens_probe",
"priority": 10,
"policy": "r",
"state": "SEND",
"blocked": "100",
"line": 3
},
"after": {
"pid": 101,
"tid": 1,
"name": "./waitlens_probe",
"priority": 10,
"policy": "r",
"state": "REPLY",
"blocked": "100",
"line": 3
}
}
]
}