)]}'
{
  "commit": "30c4f871093496f7e4492bad5d49cac24587eeda",
  "tree": "6169816a8aa0367537dbc9ee610e042ea07b9c3f",
  "parents": [
    "9e6441dfc70bdc98114c748afe34d7cd49b2d0b0"
  ],
  "author": {
    "name": "Alan Donovan",
    "email": "adonovan@google.com",
    "time": "Fri Jun 26 17:39:41 2026 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Jul 07 10:21:16 2026 -0700"
  },
  "message": "go/analysis/passes/nilness: skip magic cgo functions\n\nThe annotation on this function, for example, indicates\nthat the _cgo_runtime_cgocall function is accessing the\nentire stack frame directly, so it may clobber r1 even\nthough the SSA representation suggests it is always nil.\n\n  //go:cgo_unsafe_args\n  func _cgo_cmalloc(p0 uint64) (r1 unsafe.Pointer) {\n\t_cgo_runtime_cgocall(_cgo_a202e8d7d4fb_Cfunc__Cmalloc, uintptr(unsafe.Pointer(\u0026p0)))\n\tif r1 \u003d\u003d nil {\n\t\truntime_throw(\"runtime: C malloc failed\")\n\t}\n\treturn\n  }\n\nThis is required to avoid false positives in the nilness\nanalysis when it starts reporting nil unsafe.Pointers after\nCL 794881 lands.\n\nFor golang/go#80121\n\nChange-Id: Ia0824f86a86e18ee6956fda492490a2faf138f12\nReviewed-on: https://go-review.googlesource.com/c/tools/+/794883\nAuto-Submit: Alan Donovan \u003cadonovan@google.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Mark Freeman \u003cmarkfreeman@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6f353968f234bade77416c387980207b7c80d44c",
      "old_mode": 33188,
      "old_path": "go/analysis/passes/nilness/nilness.go",
      "new_id": "18a100a89cc01d7d9900b09d37e6b13d8ae58208",
      "new_mode": 33188,
      "new_path": "go/analysis/passes/nilness/nilness.go"
    },
    {
      "type": "modify",
      "old_id": "f7caa013edbda85e30859cb03ec246c3fc3fc99a",
      "old_mode": 33188,
      "old_path": "go/analysis/passes/nilness/testdata/src/a/a.go",
      "new_id": "aa26e66cb54f9a41ad260416f3e46b5c372aa0dc",
      "new_mode": 33188,
      "new_path": "go/analysis/passes/nilness/testdata/src/a/a.go"
    }
  ]
}
