github-vet / github-vet/rangeloop-pointer-findings

lin-sel/swabhaw: go/src/github.com/BookMarkApp-v.2/view/User_login.go; 7 LoC

Open
#8,222 0 comments 0 reactions 0 assignees View on GitHub
fresh tiny
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
PR metrics pending

Description

Found a possible issue in [lin-sel/swabhaw](https://www.github.com/lin-sel/swabhaw) at [go/src/github.com/BookMarkApp-v.2/view/User_login.go](https://github.com/lin-sel/swabhaw/blob/a7311b246e6e910078558cca8da1e168e4f8c767/go/src/github.com/BookMarkApp-v.2/view/User_login.go#L68-L74)

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 dbuser at line 71 may start a goroutine

[Click here to see the code in its original context.](https://github.com/lin-sel/swabhaw/blob/a7311b246e6e910078558cca8da1e168e4f8c767/go/src/github.com/BookMarkApp-v.2/view/User_login.go#L68-L74)

Click here to show the 7 line(s) of Go which triggered the analyzer.

```go
for _, dbuser := range users {
if dbuser.Username == user.Username && dbuser.Password == user.Password {
log.Info("Login successfully")
ShowMenu(&dbuser, repository, ufw)
return
}
}

```

Click here to show extra information the analyzer produced.

```
The following dot graph describes paths through the callgraph that could lead to a function calling a goroutine:
digraph G {
"(runHandler, 1)" -> {"(, 0)";}
"(init, 0)" -> {"(ServeHTTP, 2)";"(check, 3)";"(f, 2)";"(Connect, 1)";"(fn4, 0)";}
"(Pointer, 1)" -> {"(Type, 0)";}
"(ExitProcess, 1)" -> {"(Addr, 0)";}
"(Find, 0)" -> {"(Load, 0)";}
"(add, 1)" -> {"(New, 1)";}
"(Lookup, 1)" -> {"(lookup, 1)";}
"(Listen, 4)" -> {}
"(forward, 0)" -> {}
"(Definition, 3)" -> {"(findIdentifier, 2)";}
"(fixImports, 3)" -> {}
"(exit, 1)" -> {"(gofmt, 0)";}
"(cachePut, 3)" -> {"(Put, 3)";}
"(Serve, 3)" -> {"(Serve, 2)";}
"(adaptGodef, 4)" -> {"(godef, 3)";"(adaptRPObject, 2)";}
"(Delete, 2)" -> {}
"(connectRemote, 2)" -> {}
"(PostInitializationSetup, 4)" -> {"(LoadBinaryInfo, 3)";}
"(getCandidatePkgs, 5)" -> {"(scan, 2)";}
"(mustFind, 0)" -> {"(Find, 0)";}
"(Rename, 3)" -> {"(Run, 3)";}
"(Call, 1)" -> {"(call, 3)";}
"(Init, 4)" -> {"(Init, 2)";}
"(Import, 2)" -> {"(Imports, 3)";"(AllImportsFixes, 3)";}
"(runAnalysis, 3)" -> {"(execAll, 3)";}
"(Connect, 1)" -> {"(Run, 1)";}
"(initialize, 2)" -> {"(initialize, 1)";"(PostInitializationSetup, 4)";"(updateThreadList, 0)";"(packageHandle, 2)";"(SetOptions, 2)";"(Initialized, 2)";"(setWorkspacePackage, 2)";}
"(lexical, 0)" -> {"(GetAllCandidates, 6)";}
"(actionHandle, 3)" -> {"(execAll, 3)";}
"(marshalToRaw, 1)" -> {"(Marshal, 1)";}
"(dialStreamLocal, 1)" -> {}
"(Span, 0)" -> {"(Start, 1)";}
"(buildPackageHandle, 3)" -> {"(typeCheck, 7)";}
"(didClose, 2)" -> {"(didModifyFiles, 2)";}
"(Continue, 1)" -> {"(ContinueOnce, 0)";}
"(marshalDoc, 2)" -> {"(init, 0)";}
"(NewFile, 1)" -> {"(String, 0)";}
"(Serve, 2)" -> {}
"(restartPrompt, 0)" -> {}
"(Diagnostics, 4)" -> {"(analyses, 5)";}
"(RecordAndReplay, 4)" -> {"(Record, 3)";}
"(deleteHTTPToken, 1)" -> {"(Delete, 2)";}
"(didSave, 2)" -> {"(didModifyFiles, 2)";}
"(FixImports, 3)" -> {"(getFixes, 4)";}
"(toString, 1)" -> {"(Iterate, 1)";}
"(verify, 3)" -> {"(fulfill, 3)";}
"(refine, 2)" -> {"(loadRecursive, 1)";}
"(importAll, 4)" -> {"(startLoad, 1)";}
"(InitMouse, 0)" -> {}
"(funcPC, 1)" -> {"(add, 2)";"(Pointer, 1)";}
"(Log, 2)" -> {"(Download, 1)";}
"(appearsSuccessful, 2)" -> {}
"(Build, 0)" -> {}
"(cacheGet, 2)" -> {"(Get, 2)";}
"(Continue, 0)" -> {"(continueDir, 1)";}
"(packageHandle, 2)" -> {"(buildPackageHandle, 3)";"(buildPackageHandle, 2)";}
"(DidChangeConfiguration, 2)" -> {"(didChangeConfiguration, 2)";}
"(DidOpen, 2)" -> {"(didOpen, 2)";"(cacheAndDiagnoseFile, 3)";}
"(execAll, 1)" -> {}
"(Run, 4)" -> {"(TestAnalyzer, 2)";}
"(ForEachPackage, 2)" -> {"(allPackages, 3)";}
"(structLiteralFieldName, 0)" -> {"(lexical, 0)";}
"(fn1, 0)" -> {}
"(collectReferences, 1)" -> {"(Walk, 2)";}
"(iter, 1)" -> {}
"(Deliver, 3)" -> {"(DidSave, 2)";"(CodeAction, 2)";"(DidChangeConfiguration, 2)";"(DidOpen, 2)";"(DidChange, 2)";"(DidChangeWatchedFiles, 2)";"(DidClose, 2)";}
"(Interpret, 5)" -> {"(call, 5)";}
"(callSSA, 6)" -> {"(runFrame, 1)";}
"(actionHandle, 4)" -> {"(runAnalysis, 3)";"(execAll, 3)";}
"(Exit, 1)" -> {"(int, 1)";"(funcPC, 1)";"(Pointer, 1)";"(callexit, 1)";"(ExitProcess, 1)";"(Notify, 3)";"(runHandlers, 0)";"(exit, 1)";}
"(Type, 0)" -> {"(String, 0)";}
"(LLDBAttach, 3)" -> {"(Listen, 4)";}
"(Prompt, 1)" -> {"(PromptWithSuggestion, 3)";}
"(poll, 0)" -> {}
"(Build, 1)" -> {"(ForEachPackage, 2)";}
"(exprType, 3)" -> {"(Member, 1)";}
"(events, 1)" -> {"(EventChan, 0)";}
"(fulfill, 3)" -> {"(deleteHTTPToken, 1)";"(deleteCertToken, 1)";}
"(Member, 1)" -> {}
"(rangeIter, 2)" -> {}
"(fn, 0)" -> {"(fn1, 0)";"(Command, 1)";}
"(dial, 4)" -> {}
"(predecl, 1)" -> {"(Lookup, 1)";}
"(stat, 2)" -> {"(f, 2)";}
"(Run, 1)" -> {"(processPkg, 2)";"(Deliver, 3)";}
"(authorizedCert, 3)" -> {"(verify, 3)";}
"(referrers, 1)" -> {"(globalReferrersPkgLevel, 3)";}
"(int64, 1)" -> {"(Write, 1)";"(tracef, 2)";}
"(New, 2)" -> {"(Replay, 4)";"(stmt, 1)";"(Attach, 2)";"(Launch, 2)";"(OpenCore, 3)";"(Detach, 1)";}
"(Accept, 0)" -> {}
"(caller, 0)" -> {"(Next, 0)";}
"(typeCheck, 6)" -> {}
"(f, 2)" -> {}
"(Range, 1)" -> {"(f, 2)";}
"(Get, 2)" -> {}
"(load, 2)" -> {"(buildPackageHandle, 3)";"(packageHandle, 2)";}
"(newDirTree, 4)" -> {}
"(NewServer, 1)" -> {"(loadDocs, 1)";}
"(ReadHashes, 1)" -> {"(ReadTiles, 1)";}
"(didChange, 2)" -> {"(didModifyFiles, 2)";}
"(TestAnalyzer, 2)" -> {"(analyze, 2)";}
"(Notify, 3)" -> {"(, 0)";"(Marshal, 1)";"(Write, 2)";"(Done, 2)";"(marshalToRaw, 1)";"(Request, 4)";"(Wrote, 2)";}
"(lookup, 1)" -> {"(wordwin, 1)";}
"(Open, 0)" -> {"(Open, 1)";}
"(next, 0)" -> {"(Next, 0)";}
"(DidChange, 2)" -> {"(didChange, 2)";"(cacheAndDiagnoseFile, 3)";}
"(globalReferrersPkgLevel, 3)" -> {}
"(diagnose, 2)" -> {}
"(Add, 2)" -> {"(Add, 3)";"(new, 1)";"(Mul, 3)";}
"(Decode, 1)" -> {"(parse, 0)";}
"(wordwin, 1)" -> {"(events, 1)";}
"(formatNode, 2)" -> {"(Fprint, 3)";}
"(Load, 2)" -> {"(refine, 2)";"(load, 2)";}
"(startLoad, 1)" -> {}
"(CheckPackageHandles, 2)" -> {"(checkPackageHandle, 3)";}
"(unimportedMembers, 1)" -> {"(GetPackageExports, 6)";}
"(Put, 1)" -> {"(Put, 2)";}
"(Record, 2)" -> {"(do, 1)";}
"(ServeHTTP, 2)" -> {"(Lookup, 2)";"(Signed, 1)";"(ServeConn, 1)";"(ReadTileData, 2)";"(GetPageInfo, 5)";}
"(CallAPI, 3)" -> {"(call, 3)";}
"(Diagnostics, 3)" -> {"(diagnose, 3)";"(Diagnostics, 4)";}
"(checkPrintfCallImpl, 3)" -> {"(Lookup, 2)";}
"(execAll, 3)" -> {"(Go, 1)";}
"(fid, 1)" -> {"(New, 1)";}
"(stmt, 1)" -> {"(lookup, 1)";}
"(adaptRPObject, 2)" -> {"(Iter, 0)";"(Underlying, 1)";}
"(Mul, 3)" -> {"(Set, 1)";}
"(log, 2)" -> {"(write, 0)";"(Put, 1)";}
"(sendEvents, 2)" -> {}
"(Scanln, 1)" -> {"(NewReader, 1)";}
"(Decode, 2)" -> {"(parse, 1)";}
"(promptForInput, 0)" -> {"(Prompt, 1)";}
"(NewCipher, 1)" -> {"(New, 1)";}
"(write, 0)" -> {"(Write, 1)";"(Format, 1)";}
"(Run, 0)" -> {"(NewServer, 2)";"(Accept, 0)";"(serveJSONCodec, 1)";"(sigintGuard, 2)";"(promptForInput, 0)";}
"(ServeConn, 1)" -> {"(ServeCodec, 1)";}
"(diagnose, 3)" -> {}
"(Addr, 0)" -> {"(mustFind, 0)";}
"(PromptWithSuggestion, 3)" -> {"(startPrompt, 0)";"(restartPrompt, 0)";}
"(Dial, 2)" -> {"(dial, 4)";"(dialStreamLocal, 1)";"(NewClient, 1)";}
"(loadDocs, 1)" -> {"(Walk, 2)";}
"(ProcessFiles, 4)" -> {"(Run, 4)";}
"(check, 3)" -> {"(parseExpectations, 1)";}
"(initialized, 2)" -> {"(addFolders, 2)";}
"(DidSave, 2)" -> {"(didSave, 2)";}
"(WriteFile, 3)" -> {"(sendEvents, 2)";"(Stat, 1)";}
"(GetAllForTenant, 4)" -> {"(Find, 1)";}
"(traverse, 1)" -> {"(Inspect, 2)";}
"(listing, 2)" -> {"(iter, 1)";}
"(Init, 2)" -> {"(Init, 1)";}
"(checkPrintfCall, 3)" -> {"(checkPrintfCallImpl, 3)";}
"(Signed, 1)" -> {"(TreeHash, 2)";}
"(implements, 1)" -> {"(Build, 1)";}
"(AllImportsFixes, 3)" -> {"(FixImports, 3)";}
"(int, 1)" -> {"(int64, 1)";}
"(Done, 2)" -> {"(With, 2)";"(Record, 2)";}
"(parse, 1)" -> {"(Load, 2)";}
"(InitKeyboard, 0)" -> {}
"(typeCheck, 7)" -> {}
"(TreeHash, 2)" -> {"(ReadHashes, 1)";}
"(New, 1)" -> {"(Open, 1)";"(Dial, 2)";"(traverse, 1)";"(starlarkPredeclare, 0)";"(execute, 5)";}
"(releaseEntry, 1)" -> {"(Put, 1)";}
"(Set, 1)" -> {"(New, 1)";"(Open, 1)";}
"(Write, 1)" -> {"(New, 1)";"(String, 0)";"(doTitleSequence, 1)";}
"(NewReader, 1)" -> {"(Open, 0)";"(NewFile, 1)";}
"(fprint, 4)" -> {"(init, 4)";}
"(Parse, 1)" -> {"(ParseSigned, 1)";"(Get, 1)";"(parse, 1)";}
"(Load, 0)" -> {"(parseFiles, 6)";"(importAll, 4)";"(parsePackageFiles, 2)";}
"(start, 0)" -> {}
"(Iterate, 1)" -> {"(f, 2)";}
"(Init, 1)" -> {"(InitKeyboard, 0)";"(InitMouse, 0)";}
"(selector, 1)" -> {"(unimportedMembers, 1)";}
"(Go, 1)" -> {}
"(gofmt, 0)" -> {"(WriteFile, 3)";}
"(Keys, 0)" -> {"(Iterate, 1)";}
"(parsePackageFiles, 2)" -> {"(parseFiles, 6)";"(ProcessFiles, 4)";}
"(ServeCodec, 1)" -> {}
"(findIdentifier, 2)" -> {}
"(SuggestedFix, 2)" -> {"(diagnose, 3)";"(Diagnostics, 4)";}
"(analyses, 5)" -> {"(Analyze, 3)";}
"(Add, 3)" -> {"(add, 1)";"(Set, 1)";}
"(Wrote, 2)" -> {"(Record, 2)";}
"(rename, 2)" -> {"(Identifier, 4)";"(Rename, 3)";}
"(addFolders, 2)" -> {"(diagnoseDetached, 1)";}
"(AddImage, 2)" -> {"(loadBinaryInfo, 4)";}
"(getAllCandidates, 6)" -> {"(getCandidatePkgs, 5)";}
"(, 0)" -> {"(Command, 2)";"(Load, 1)";"(Rename, 2)";"(alloc, 4)";"(fn, 0)";"(New, 2)";"(predecl, 1)";"(Solve, 0)";"(next, 0)";"(caller, 0)";"(checkPrintfCall, 3)";"(New, 1)";"(Lookup, 1)";"(print, 1)";"(String, 0)";"(Parse, 1)";"(create, 2)";"(isGenerated, 1)";}
"(isGenerated, 1)" -> {"(Open, 1)";}
"(buildPackageHandle, 2)" -> {"(typeCheck, 7)";}
"(init, 4)" -> {"(Init, 1)";}
"(continueDir, 1)" -> {}
"(run, 0)" -> {"(poll, 0)";}
"(LoadBinaryInfo, 3)" -> {"(AddImage, 2)";}
"(EvalExpressionWithCalls, 5)" -> {}
"(updateView, 3)" -> {"(createView, 4)";}
"(diagnoseDetached, 1)" -> {"(diagnose, 2)";}
"(Process, 3)" -> {"(fixImports, 3)";}
"(Attach, 2)" -> {"(LLDBAttach, 3)";"(initialize, 2)";}
"(Launch, 2)" -> {"(LLDBLaunch, 4)";"(RecordAndReplay, 4)";"(Launch, 4)";}
"(Format, 2)" -> {"(Run, 3)";}
"(run, 3)" -> {"(execAll, 1)";}
"(analyze, 2)" -> {"(execAll, 1)";}
"(add, 2)" -> {"(String, 0)";"(Decode, 1)";"(Insert, 1)";"(Encode, 1)";"(Write, 1)";}
"(NewClient, 3)" -> {}
"(DidClose, 2)" -> {"(didClose, 2)";}
"(stop, 1)" -> {"(ElfUpdateSharedObjects, 1)";}
"(new, 1)" -> {"(NewCipher, 1)";}
"(execute, 5)" -> {"(Run, 0)";"(NewClient, 1)";"(NewServer, 1)";}
"(getAllBookmark, 0)" -> {"(GetAllForTenant, 4)";}
"(NewServer, 2)" -> {"(Serve, 3)";}
"(serveJSONCodec, 1)" -> {}
"(OpenCore, 3)" -> {"(initialize, 2)";}
"(starlarkPredeclare, 0)" -> {"(CallAPI, 3)";}
"(Find, 1)" -> {"(get, 1)";}
"(processPkg, 2)" -> {}
"(continueUntilCompleteNext, 4)" -> {"(Continue, 0)";}
"(Analyze, 3)" -> {"(actionHandle, 4)";"(actionHandle, 3)";}
"(Open, 1)" -> {"(appearsSuccessful, 2)";}
"(String, 0)" -> {"(Fprint, 3)";"(Span, 0)";"(Keys, 0)";"(toString, 1)";"(print, 1)";}
"(Walk, 2)" -> {}
"(ReadTiles, 1)" -> {}
"(cacheAndDiagnoseFile, 3)" -> {}
"(allPackages, 3)" -> {}
"(Request, 4)" -> {"(Record, 2)";"(Unmarshal, 2)";}
"(Solve, 0)" -> {"(Range, 1)";}
"(Identifier, 4)" -> {"(CheckPackageHandles, 2)";}
"(ReadTileData, 2)" -> {"(ReadHashes, 1)";}
"(Step, 1)" -> {"(run, 2)";}
"(get, 1)" -> {"(Open, 1)";"(Decode, 2)";}
"(display, 0)" -> {"(Init, 4)";}
"(setWorkspacePackage, 2)" -> {"(packageHandle, 2)";}
"(IntuitiveMethodSet, 2)" -> {"(Lookup, 2)";}
"(Underlying, 1)" -> {"(exprType, 3)";}
"(run, 2)" -> {"(Interpret, 5)";}
"(GetPackageExports, 6)" -> {"(getPackageExports, 6)";}
"(quickFixes, 4)" -> {"(FindAnalysisError, 5)";}
"(doTitleSequence, 1)" -> {"(Call, 1)";}
"(parse, 0)" -> {"(init, 0)";}
"(fn4, 0)" -> {}
"(LLDBLaunch, 4)" -> {"(Listen, 4)";}
"(Detach, 1)" -> {"(call, 3)";}
"(Lookup, 2)" -> {"(checkRecord, 2)";"(StoredHashesForRecordHash, 3)";}
"(didModifyFiles, 2)" -> {}
"(loadBinaryInfo, 4)" -> {"(loadBinaryInfoPE, 5)";"(loadBinaryInfoMacho, 5)";"(loadBinaryInfoElf, 5)";}
"(runFrame, 1)" -> {"(visitInstr, 2)";}
"(Download, 1)" -> {"(run, 2)";}
"(Fprint, 3)" -> {"(fprint, 4)";}
"(Start, 1)" -> {"(start, 0)";}
"(load, 0)" -> {"(collectReferences, 1)";}
"(Run, 2)" -> {"(forward, 0)";"(Serve, 1)";"(referrers, 1)";"(analyze, 2)";"(run, 0)";"(run, 3)";"(connect, 1)";"(Serve, 2)";"(CodeAction, 2)";"(MonitorMemory, 1)";"(implements, 1)";"(NewSession, 0)";"(RunServerOnAddress, 4)";}
"(checkRecord, 2)" -> {"(ReadHashes, 1)";}
"(ExprType, 3)" -> {"(exprType, 3)";}
"(loadBinaryInfoElf, 5)" -> {}
"(updateThreadList, 0)" -> {"(ElfUpdateSharedObjects, 1)";}
"(Imports, 3)" -> {"(Process, 3)";}
"(Info, 1)" -> {"(log, 2)";"(releaseEntry, 1)";}
"(Load, 1)" -> {"(Load, 0)";"(load, 0)";}
"(Format, 1)" -> {"(String, 0)";"(formatNode, 2)";"(location, 0)";}
"(Iter, 0)" -> {}
"(RunServerOnAddress, 4)" -> {"(NewSession, 0)";}
"(With, 2)" -> {"(Log, 2)";}
"(first, 0)" -> {"(init, 0)";}
"(parseFiles, 6)" -> {}
"(NewClientWithCodec, 1)" -> {}
"(godef, 3)" -> {"(findIdentifier, 2)";"(ExprType, 3)";}
"(run, 1)" -> {"(Format, 2)";"(Build, 0)";"(Inspect, 2)";"(adaptGodef, 4)";}
"(callexit, 1)" -> {"(Pointer, 1)";}
"(didChangeConfiguration, 2)" -> {"(diagnoseDetached, 1)";}
"(Command, 1)" -> {"(EvalExpressionWithCalls, 5)";"(Continue, 1)";"(Step, 1)";}
"(Stat, 1)" -> {"(stat, 2)";}
"(call, 3)" -> {"(continueUntilCompleteNext, 4)";}
"(Run, 3)" -> {"(Completion, 4)";"(Run, 2)";"(Diagnostics, 3)";"(SuggestedFix, 2)";"(Definition, 3)";"(Import, 2)";}
"(newDirectory, 2)" -> {"(newDirTree, 4)";}
"(scan, 2)" -> {}
"(Insert, 1)" -> {"(first, 0)";}
"(print, 1)" -> {"(Fprint, 3)";"(IntuitiveMethodSet, 2)";}
"(ParseSigned, 1)" -> {"(parse, 1)";}
"(codeAction, 2)" -> {"(quickFixes, 4)";}
"(FindAnalysisError, 5)" -> {"(actionHandle, 4)";"(actionHandle, 3)";}
"(StoredHashesForRecordHash, 3)" -> {"(ReadHashes, 1)";}
"(didOpen, 2)" -> {"(didModifyFiles, 2)";}
"(didChangeWatchedFiles, 2)" -> {"(didModifyFiles, 2)";}
"(parseFiles, 1)" -> {}
"(getFixes, 4)" -> {"(addExternalCandidates, 3)";}
"(addBookmark, 0)" -> {"(Add, 2)";"(Scanln, 1)";}
"(runHandlers, 0)" -> {"(runHandler, 1)";}
"(Write, 2)" -> {"(fid, 1)";"(Write, 1)";}
"(Command, 2)" -> {"(Command, 1)";}
"(Next, 0)" -> {"(call, 3)";}
"(EventChan, 0)" -> {}
"(GetAllCandidates, 6)" -> {"(getAllCandidates, 6)";}
"(loadRecursive, 1)" -> {"(loadPackage, 1)";}
"(sigintGuard, 2)" -> {"(Prompt, 1)";}
"(trapWait, 1)" -> {"(Continue, 0)";}
"(ContinueOnce, 0)" -> {"(ElfUpdateSharedObjects, 1)";}
"(Completion, 4)" -> {"(lexical, 0)";"(structLiteralFieldName, 0)";"(selector, 1)";}
"(getPackageExports, 6)" -> {"(getCandidatePkgs, 5)";}
"(connect, 1)" -> {"(NewClient, 3)";"(connectRemote, 2)";"(NewSession, 0)";}
"(MonitorMemory, 1)" -> {}
"(deleteCertToken, 1)" -> {"(Delete, 2)";}
"(loadBinaryInfoPE, 5)" -> {}
"(visitInstr, 2)" -> {"(rangeIter, 2)";}
"(Replay, 4)" -> {}
"(Record, 3)" -> {}
"(checkPackageHandle, 3)" -> {"(typeCheck, 6)";}
"(createView, 4)" -> {}
"(DidChangeWatchedFiles, 2)" -> {"(didChangeWatchedFiles, 2)";}
"(loadBinaryInfoMacho, 5)" -> {}
"(call, 5)" -> {"(callSSA, 6)";}
"(Launch, 4)" -> {"(trapWait, 1)";"(stop, 1)";}
"(initialize, 1)" -> {"(Initialized, 2)";}
"(Put, 3)" -> {}
"(Serve, 1)" -> {}
"(ShowMenu, 3)" -> {"(addBookmark, 0)";"(Info, 1)";"(getAllBookmark, 0)";"(Exit, 1)";}
"(Encode, 1)" -> {"(marshalDoc, 2)";}
"(tracef, 2)" -> {"(String, 0)";}
"(location, 0)" -> {"(Next, 0)";}
"(loadPackage, 1)" -> {"(parseFiles, 1)";}
"(addExternalCandidates, 3)" -> {"(findImport, 6)";"(scan, 2)";}
"(marshalStruct, 2)" -> {"(Get, 1)";"(typeTags, 1)";}
"(Unmarshal, 2)" -> {"(Get, 1)";"(Decode, 2)";}
"(GetPageInfo, 5)" -> {"(newDirectory, 2)";"(listing, 2)";}
"(CodeAction, 2)" -> {"(codeAction, 2)";}
"(Get, 1)" -> {"(lookup, 1)";"(run, 1)";}
"(create, 2)" -> {"(Load, 0)";}
"(Put, 2)" -> {"(String, 0)";}
"(NewClient, 1)" -> {"(NewClientWithCodec, 1)";}
"(Initialized, 2)" -> {"(initialized, 2)";}
"(NewSession, 0)" -> {"(newSession, 2)";}
"(typeTags, 1)" -> {"(Get, 1)";}
"(Inspect, 2)" -> {"(Walk, 2)";}
"(Rename, 2)" -> {"(rename, 2)";}
"(SetOptions, 2)" -> {"(updateView, 3)";}
"(startPrompt, 0)" -> {"(restartPrompt, 0)";}
"(ElfUpdateSharedObjects, 1)" -> {"(AddImage, 2)";}
"(findImport, 6)" -> {}
"(Marshal, 1)" -> {"(marshalDoc, 2)";"(marshalStruct, 2)";}
"(do, 1)" -> {"(cacheGet, 2)";"(authorizedCert, 3)";"(cachePut, 3)";}
"(parseExpectations, 1)" -> {"(Init, 1)";}
"(alloc, 4)" -> {"(display, 0)";}
"(newSession, 2)" -> {}
}

```

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: a7311b246e6e910078558cca8da1e168e4f8c767

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.