github-vet / github-vet/rangeloop-pointer-findings
aarzilli/gdlv: commands.go; 3 LoC
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- PR metrics pending
Description
Found a possible issue in [aarzilli/gdlv](https://www.github.com/aarzilli/gdlv) at [commands.go](https://github.com/aarzilli/gdlv/blob/16a7cc628c3dfa7faea5b7febe8cfbd8abb9f068/commands.go#L1751-L1753)
Below is the message reported by the analyzer for this snippet of code. Beware that the analyzer only reports the first
issue it finds, so please do not limit your consideration to the contents of the below message.
> function call which takes a reference to v at line 1752 may start a goroutine
[Click here to see the code in its original context.](https://github.com/aarzilli/gdlv/blob/16a7cc628c3dfa7faea5b7febe8cfbd8abb9f068/commands.go#L1751-L1753)
Click here to show the 3 line(s) of Go which triggered the analyzer.
```go
for _, v := range bpi.Arguments {
c.Text(fmt.Sprintf(" %s: %s\n", v.Name, wrapApiVariableSimple(&v).MultilineString(" ")))
}
```
Click here to show extra information the analyzer produced.
```
The following paths through the callgraph could lead to a goroutine:
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (panelEnd, 2) -> (Draw, 2) -> (drawEolCursor, 0) -> (flushTab, 1) -> (Rect, 4) -> (TriFan, 8) -> (triFanRequest, 8) -> (PointfixListBytes, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0) -> (drawLoop, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Push, 2) -> (deliverEnterLeaveEvents, 4) -> (invTransform, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Push, 2) -> (deliverEnterLeaveEvents, 4) -> (invTransform, 2) -> (Invert, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Close, 0) -> (CloseHandle, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0) -> (collectHandlers, 6)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (panelEnd, 2) -> (Draw, 2) -> (drawEolCursor, 0) -> (flushTab, 1) -> (Rect, 4) -> (TriFan, 8) -> (triFanRequest, 8) -> (PointfixListBytes, 2) -> (Edit, 1) -> (doEdit, 6) -> (Paste, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (midPoint, 2) -> (blur, 0) -> (collectHandlers, 6)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (panelEnd, 2) -> (Draw, 2) -> (drawEolCursor, 0) -> (flushTab, 1) -> (Rect, 4) -> (TriFan, 8) -> (triFanRequest, 8) -> (PointfixListBytes, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (panelEnd, 2) -> (Draw, 2) -> (drawEolCursor, 0) -> (flushTab, 1) -> (Rect, 4) -> (TriFan, 8) -> (triFanRequest, 8) -> (PointfixListBytes, 2) -> (Edit, 1) -> (doEdit, 6) -> (Paste, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Add, 2) -> (removeOldest, 0) -> (removeElement, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (continueDir, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (continueDir, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Close, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (createCallback, 2) -> (String, 1) -> (String, 2) -> (grow, 2) -> (Close, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Close, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (midPoint, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Close, 0) -> (CloseHandle, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Load, 4) -> (u32, 2) -> (run, 5) -> (initializeScaledCVT, 0) -> (Hypot, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0) -> (drawLoop, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (createCallback, 2) -> (String, 1) -> (String, 2) -> (grow, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (op, 1) -> (roundRectRev, 6) -> (Line, 1) -> (lineTo, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Load, 4) -> (u32, 2) -> (run, 5) -> (initializeScaledCVT, 0) -> (Hypot, 2)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (variableValueToStarlarkValue, 2) -> (varAddrExpr, 1) -> (Error, 0) -> (call, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (writeLinkToLocation, 5) -> (ShortenFilePath, 1) -> (Getwd, 0) -> (GetCurrentDirectory, 2) -> (getattrlist, 5) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (midPoint, 2) -> (blur, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (formatTime, 1) -> (Add, 1) -> (Write, 1) -> (Transform, 3) -> (t, 1) -> (b2i, 1) -> (Set, 1) -> (cpuBitsMask, 1) -> (cpuMask, 1) -> (SyscallNoError, 4) -> (realSyscallNoError, 10) -> (SendEventChecked, 5) -> (sendEventRequest, 5) -> (DepthInfoReadList, 2) -> (SetStyle, 1) -> (Defaults, 0) -> (DefaultFont, 1) -> (DefaultFont, 2) -> (NewFace, 2) -> (SetBounds, 2) -> (Clear, 0) -> (initOS2Version1, 0) -> (glyphTopOS2, 3) -> (LoadGlyph, 4) -> (loadGlyf, 5) -> (nextSegment, 0) -> (midPoint, 2) -> (tform, 7) -> (blur, 0) -> (collectHandlers, 6)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (createCallback, 2) -> (String, 1) -> (String, 2) -> (grow, 2) -> (Close, 0) -> (CloseHandle, 1)
(wrapApiVariableSimple, 1) -> (wrapApiVariable, 5) -> (Format, 1) -> (String, 0) -> (, 0) -> (RepertoireError, 1) -> (CloseOnExec, 1) -> (SetHandleInformation, 3) -> (unmarshalStarlarkValueIntl, 3) -> (Get, 1) -> (Peek, 1) -> (cpuMask, 1)
```
Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket:
See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information.
commit ID: 16a7cc628c3dfa7faea5b7febe8cfbd8abb9f068
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.