mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
eb62bae167
- Drop `delim` argument from the `GetStackTrace()` family of functions. We only ever used plain spaces. - Use an `std::vector<std::string>` for the symbolized stack frames and adjust the unwind proto accordingly. This change now prints each stack frame on its own line while skipping duplicate ones: ``` I20200717 11:47:16.811381 3636246 monitor.cc:326] Stack trace: [ I20200717 11:47:16.811415 3636246 monitor.cc:337] map:/lib/x86_64-linux-gnu/libc-2.30.so+0xceee7(0x7fb871602ee7) I20200717 11:47:16.811420 3636246 monitor.cc:337] Rot13File+0x130(0x55ed24615995) I20200717 11:47:16.811424 3636246 monitor.cc:337] ffi_call_unix64+0x55(0x55ed2461f2dd) I20200717 11:47:16.811429 3636246 monitor.cc:337] map:[stack]+0x1ec80(0x7ffee4257c80) I20200717 11:47:16.811455 3636246 monitor.cc:339] (last frame repeated 196 times) I20200717 11:47:16.811460 3636246 monitor.cc:347] ] ``` PiperOrigin-RevId: 322089140 Change-Id: I05b0de2f4118fed90fe920c06bbd70ea0d1119e2 |
||
---|---|---|
.. | ||
bazel | ||
docs | ||
examples | ||
sandbox2 | ||
tools | ||
util | ||
BUILD.bazel | ||
call.h | ||
client.cc | ||
CMakeLists.txt | ||
embed_file.cc | ||
embed_file.h | ||
file_toc.h | ||
lenval_core.h | ||
proto_arg.proto | ||
proto_helper.h | ||
rpcchannel.cc | ||
rpcchannel.h | ||
sandbox.cc | ||
sandbox.h | ||
sapi_test.cc | ||
transaction.cc | ||
transaction.h | ||
var_abstract.cc | ||
var_abstract.h | ||
var_array.h | ||
var_int.cc | ||
var_int.h | ||
var_lenval.cc | ||
var_lenval.h | ||
var_pointable.cc | ||
var_pointable.h | ||
var_proto.h | ||
var_ptr.h | ||
var_reg.h | ||
var_struct.h | ||
var_type.h | ||
var_void.h | ||
vars.h |