mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Do not keep a reference to a temporary
PiperOrigin-RevId: 321117444 Change-Id: If6951058fcd32fe638f9241bef79181d6785e9cf
This commit is contained in:
parent
1f1de9e229
commit
b7d137721a
|
@ -82,7 +82,7 @@ std::vector<std::string> Syscall::GetArgumentsDescription() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Syscall::GetDescription() const {
|
std::string Syscall::GetDescription() const {
|
||||||
const auto& arch = GetArchDescription(arch_);
|
const std::string arch = GetArchDescription(arch_);
|
||||||
const std::string args = absl::StrJoin(GetArgumentsDescription(), ", ");
|
const std::string args = absl::StrJoin(GetArgumentsDescription(), ", ");
|
||||||
return absl::StrFormat("%s %s [%d](%s) IP: %#x, STACK: %#x", arch, GetName(),
|
return absl::StrFormat("%s %s [%d](%s) IP: %#x, STACK: %#x", arch, GetName(),
|
||||||
nr_, args, ip_, sp_);
|
nr_, args, ip_, sp_);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user