{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T02:58:07Z","timestamp":1792119487959,"version":"4.4.0"},"reference-count":62,"publisher":"Institute of Electrical and Electronics Engineers (IEEE)","issue":"7","license":[{"start":{"date-parts":[[2022,7,1]],"date-time":"2022-07-01T00:00:00Z","timestamp":1656633600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/ieeexplore.ieee.org\/Xplorehelp\/downloads\/license-information\/IEEE.html"},{"start":{"date-parts":[[2022,7,1]],"date-time":"2022-07-01T00:00:00Z","timestamp":1656633600000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-029"},{"start":{"date-parts":[[2022,7,1]],"date-time":"2022-07-01T00:00:00Z","timestamp":1656633600000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-037"}],"funder":[{"DOI":"10.13039\/501100000038","name":"Natural Sciences and Engineering Research Council of Canada","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100000038","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IIEEE Trans. Software Eng."],"published-print":{"date-parts":[[2022,7,1]]},"DOI":"10.1109\/tse.2021.3057720","type":"journal-article","created":{"date-parts":[[2021,2,9]],"date-time":"2021-02-09T09:13:55Z","timestamp":1612862035000},"page":"2277-2294","source":"Crossref","is-referenced-by-count":10,"title":["Breaking Type Safety in Go: An Empirical Study on the Usage of the unsafe Package"],"prefix":"10.1109","volume":"48","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7084-2594","authenticated-orcid":false,"given":"Diego Elias","family":"Costa","sequence":"first","affiliation":[{"name":"Department of Computer Science and Software Engineering, Data-driven Analysis of Software (DAS) Lab, Concordia University, Montreal, QC, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2738-1387","authenticated-orcid":false,"given":"Suhaib","family":"Mujahid","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Software Engineering, Data-driven Analysis of Software (DAS) Lab, Concordia University, Montreal, QC, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9914-5434","authenticated-orcid":false,"given":"Rabe","family":"Abdalkareem","sequence":"additional","affiliation":[{"name":"Software Analysis and Intelligence Lab (SAIL), School of Computing, Queen&#x0027;s University, Kingston, ON, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Emad","family":"Shihab","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Software Engineering, Data-driven Analysis of Software (DAS) Lab, Concordia University, Montreal, QC, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"263","reference":[{"key":"ref7","article-title":"The unsafe article states a runtime.keepalive call is needed in the string2byteslice example. This is wrong","year":"2020"},{"key":"ref8","article-title":"Support for channels, maps and unsafe.pointers by aarzilli \u00b7 pull request #286 \u00b7 go-delve\/delve","author":"Arzilli","year":"2015"},{"key":"ref9","article-title":"Go2genericsfeedback","author":"Authors","year":"2020"},{"key":"ref10","article-title":"Tools\/unsafeptr.go \u00b7 golang\/tools","author":"Authors","year":"2019"},{"key":"ref11","article-title":"Invalid use of unsafe.pointer","author":"Bitter","year":"2015"},{"key":"ref12","article-title":"Go: Is the encoding\/json package really slow? - A journey with go - Medium","author":"Blanchon","year":"2019"},{"key":"ref13","article-title":"Go: What is the unsafe package? - A journey with go","author":"Blanchon","year":"2019"},{"key":"ref14","doi-asserted-by":"publisher","DOI":"10.1145\/2972958.2972966"},{"key":"ref15","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2016.31"},{"key":"ref16","doi-asserted-by":"publisher","DOI":"10.1145\/1985441.1985448"},{"key":"ref17","article-title":"Prometheus crashes and hangs on fatal error: Found bad pointer in go heap (incorrect use of unsafe or cgo?)","author":"Chekrygin","year":"2016"},{"key":"ref18","article-title":"App engine","author":"Cloud","year":"2020"},{"key":"ref19","article-title":"CockroachDB - The open source, cloud-native SQL database","year":"2020"},{"key":"ref20","doi-asserted-by":"publisher","DOI":"10.1145\/3030207.3030221"},{"key":"ref21","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2017.1"},{"key":"ref22","article-title":"The go playground - Keepalive not safe","author":"Dempsky","year":"2020"},{"key":"ref23","article-title":"Guarantees for package unsafe","author":"Dempsky","year":"2016"},{"key":"ref24","article-title":"Proposal: Unsafe: Clarify unsafe.pointer rules for package syscall","author":"Dempsky","year":"2019"},{"key":"ref25","article-title":"Mudflap: Pointer use checking for C\/C+","author":"Eigler","year":"2003","journal-title":"GCC Developers Summit"},{"key":"ref26","first-page":"246","article-title":"Is Rust used safely by software developers?,","volume-title":"Proc. ACM\/IEEE 42nd Int. Conf. Softw. Eng.","author":"Evans"},{"key":"ref27","first-page":"246","article-title":"Is Rust used safely by software developers?,","volume-title":"Proc. ACM\/IEEE 42nd Int. Conf. Softw. Eng.","author":"Evans"},{"key":"ref28","article-title":"Strange error happening in just one function of a go library after compiled","year":"2017"},{"key":"ref29","doi-asserted-by":"publisher","DOI":"10.1111\/j.1468-0394.2005.00299.x"},{"key":"ref30","article-title":"The GTK project - A free and open-source cross-platform widget toolkit","author":"Foundation","year":"2020"},{"key":"ref31","article-title":"Clarification on unsafe conversion between string and []byte","year":"2019"},{"key":"ref32","article-title":"Flaky \u201dunsafe pointer conversion\u201d-panics with -race and go1.14rc1","author":"Frei","year":"2020"},{"key":"ref33","article-title":"Use unsafe\/reflect in serialization","author":"Glynn","year":"2015"},{"key":"ref34","article-title":"Atomic - The go programming language","year":"2019"},{"key":"ref35","article-title":"CGO - The go programming language","year":"2019"},{"key":"ref36","article-title":"Reflect - The go programming language","year":"2019"},{"key":"ref37","article-title":"Syscall - The go programming language","year":"2019"},{"key":"ref38","article-title":"Testing - The go programming language","year":"2020"},{"key":"ref39","article-title":"Unsafe - The go programming language","year":"2019"},{"key":"ref40","article-title":"gotk3\/gotk3: Go bindings for gtk3","year":"2020"},{"key":"ref41","article-title":"Proposal: Spec: Disallow t<->uintptr conversion for type t unsafe.pointer","author":"Griesemer","year":"2019"},{"key":"ref42","doi-asserted-by":"publisher","DOI":"10.1145\/1108768.1108798"},{"key":"ref43","article-title":"Removed usage of package \u201dunsafe\u201d to allow Google app engine compatibility","author":"J. K.","year":"2018"},{"key":"ref44","article-title":"Runtime error: Unsafe pointer arithmetic (go 1.14 checkptr)","author":"J. K.","year":"2018"},{"key":"ref45","article-title":"The state of the octoverse | The state of the octoverse celebrates a year of building across teams, time zones, and millions of merged pull requests","author":"Inc","year":"2019"},{"key":"ref46","article-title":"Google app engine failed parsing input: Parser: Bad import \u201dunsafe\u201d","author":"Issa","year":"2017"},{"key":"ref47","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9393-5"},{"key":"ref48","doi-asserted-by":"publisher","DOI":"10.1145\/3360589"},{"key":"ref49","article-title":"Keep header.data alive during unsafe operations","author":"Lemire","year":"2019"},{"key":"ref50","article-title":"Feature: Provide no-copy conversion from []byte to string \u00b7 issue","author":"Liron","year":"2018"},{"key":"ref51","article-title":"Proposal: Sync\/atomic: Add swap, compareandswap","author":"Mastrangelo","year":"2018"},{"key":"ref52","doi-asserted-by":"publisher","DOI":"10.1145\/3360584"},{"key":"ref53","doi-asserted-by":"publisher","DOI":"10.1145\/2814270.2814313"},{"key":"ref54","doi-asserted-by":"publisher","DOI":"10.1145\/3133909"},{"key":"ref55","doi-asserted-by":"publisher","DOI":"10.11613\/BM.2012.031"},{"key":"ref56","article-title":"Use unsafe for bytes to string conversion","author":"Mihailenco","year":"2015"},{"key":"ref57","article-title":"Use unsafe to reduce number of allocations","author":"Mihailenco","year":"2016"},{"key":"ref58","article-title":"Use unsafe stringtobytes to speedup stringcmd.bytes by vmihailenco","author":"Mihailenco","year":"2019"},{"key":"ref59","doi-asserted-by":"publisher","DOI":"10.1145\/2786805.2786834"},{"key":"ref60","article-title":"Cilium","author":"Project","year":"2020"},{"key":"ref61","article-title":"Usafe use of unsafe that leads to data corruption","author":"Romanov","year":"2018"},{"key":"ref62","article-title":"Remove use of unsafe.pointer for string hashing by tsandall","author":"Sandall","year":"2018"},{"key":"ref63","article-title":"No unsafe by awalterschulze \u00b7 pull request #343 \u00b7 gogo\/protobuf","author":"Schulze","year":"2017"},{"key":"ref64","article-title":"Unsafe.sizeof now returns uintptr \u00b7 issue #3 \u00b7 lxn\/walk","author":"Siegert","year":"2011"},{"key":"ref65","article-title":"Known issue: Unsafe (marshaler and unmarshaler) test failures on big endian architectures","author":"Smirnov","year":"2016"},{"key":"ref66","article-title":"[security] incorrect unsafe usage potentially exposes prior request parameters","author":"Stockton","year":"2017"},{"key":"ref67","article-title":"Proposal: Go 2: Only give special properties to unsafe.pointer if package imports unsafe","author":"Taylor","year":"2019"},{"key":"ref68","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2019.8667972"}],"container-title":["IEEE Transactions on Software Engineering"],"original-title":[],"link":[{"URL":"http:\/\/xplorestaging.ieee.org\/ielx7\/32\/9830789\/09350178.pdf?arnumber=9350178","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,1,9]],"date-time":"2024-01-09T23:37:16Z","timestamp":1704843436000},"score":1,"resource":{"primary":{"URL":"https:\/\/ieeexplore.ieee.org\/document\/9350178\/"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,7,1]]},"references-count":62,"journal-issue":{"issue":"7"},"URL":"https:\/\/doi.org\/10.1109\/tse.2021.3057720","relation":{},"ISSN":["0098-5589","1939-3520","2326-3881"],"issn-type":[{"value":"0098-5589","type":"print"},{"value":"1939-3520","type":"electronic"},{"value":"2326-3881","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,7,1]]}}}