Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ ShellEscape
Function
ShellEscape
src/common/system.cpp:41–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
40
#ifndef WIN32
41
std::string ShellEscape(const std::string& arg)
42
{
43
std::string escaped = arg;
44
ReplaceAll(escaped,
"'"
,
"'\"
'\"'
");
45
return
"'"
+ escaped +
"'"
;
46
}
47
#endif
48
49
#if HAVE_SYSTEM
Callers
2
AddToWallet
Method · 0.85
FUZZ_TARGET
Function · 0.85
Calls
1
ReplaceAll
Function · 0.85
Tested by
1
FUZZ_TARGET
Function · 0.68