| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Internal cleanup PiperOrigin-RevId: 980191968 Change-Id: I1c736835cfc9b2936223b0262ddd22df5e45c02d | 12 天前 | |
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 16 天前 | |
Improve sorting consistency in CMakeLists.txt PiperOrigin-RevId: 972171567 Change-Id: Ifc1fa8dd369644ac28ed1eeac7e107f5d0ac3cfb | 28 天前 | |
Internal cleanup PiperOrigin-RevId: 973672875 Change-Id: I121fdc126717f7124653049b9264d0e5576ab870 | 24 天前 | |
Fix a typo. PiperOrigin-RevId: 604094890 Change-Id: If5634a15c7ea7c8ef2cc9b6d09636ee7836946d2 | 2 年前 | |
Add missing #includes PiperOrigin-RevId: 970232271 Change-Id: I3fff39991e6e764f0e4e7577f41e41fdb5eabd5d | 1 个月前 | |
Add weak implementation of the __lsan_is_turned_off in Leak Checker PiperOrigin-RevId: 707155040 Change-Id: I84b84a07289334cb172d8a00674f88396ada9df6 | 1 年前 | |
[NFC] fix typo in comment. PiperOrigin-RevId: 498048994 Change-Id: Iee969b9171921e3ffdca2610f9b93b53678d0b9d | 3 年前 | |
Migrate most RAW_LOGs and RAW_CHECKs in tests to regular LOG and CHECK. The non-RAW_ versions provide better output but weren't available when most of these tests were written. There are just a couple spots where RAW_ is actually needed, e.g. signal handlers and malloc hooks. Also fix a couple warnings in layout_test.cc newly surfaced because the optimizer understands CHECK_XX differently than INTERNAL_CHECK. PiperOrigin-RevId: 534584435 Change-Id: I8d36fa809ffdaae5a3813064bd602cb8611c1613 | 3 年前 | |
Migrate most RAW_LOGs and RAW_CHECKs in tests to regular LOG and CHECK. The non-RAW_ versions provide better output but weren't available when most of these tests were written. There are just a couple spots where RAW_ is actually needed, e.g. signal handlers and malloc hooks. Also fix a couple warnings in layout_test.cc newly surfaced because the optimizer understands CHECK_XX differently than INTERNAL_CHECK. PiperOrigin-RevId: 534584435 Change-Id: I8d36fa809ffdaae5a3813064bd602cb8611c1613 | 3 年前 | |
Prevent cross-module inlining of stack unwinder wrappers that adjust skip counts. `absl::DefaultStackUnwinder`, `CurrentStackTrace`, and `SavedStackTrace::CreateCurrent` increment `skip_count` assuming they occupy their own stack frame on the call stack, but were missing `ABSL_ATTRIBUTE_NOINLINE`. When LLVM commit `fc1afa6edce98a973ce2ce969c589da4f3aee975` enabled ThinLTO inlining of imported CFI jump table functions across translation units, these wrappers were inlined into their callers, causing stack unwinding to skip an extra caller frame. Add `ABSL_ATTRIBUTE_NOINLINE` (and `ABSL_ATTRIBUTE_NO_TAIL_CALL` / `ABSL_BLOCK_TAIL_CALL_OPTIMIZATION()`) to ensure their stack frames are preserved when calculating `skip_count`. PiperOrigin-RevId: 983379727 Change-Id: Ie6bdab705ebd1bf5c9acc1cc875e5ec535a84730 | 7 天前 | |
Internal formatting PiperOrigin-RevId: 944544403 Change-Id: Iba2098b6feb18d2b417112e0555571bd7c7d6056 | 2 个月前 | |
Use non-stack storage for stack trace buffers Doing this opportunistically allows us to avoid performance overhead in the vast majority of calls (rare, non-reentrant ones) while simultaneously minimizing stack space usage. PiperOrigin-RevId: 831560881 Change-Id: Idc6ba1dd0dcf1b4aaf3ee7cf468054bcfdcf90af | 10 个月前 | |
Internal cleanup PiperOrigin-RevId: 973672875 Change-Id: I121fdc126717f7124653049b9264d0e5576ab870 | 24 天前 | |
Add a stateful version of the SymbolDecorator interface This makes it possible to make decoration faster by caching some information between runs. Instead of a simple callback a decorator can be a class with a virtual function. This function will not be called concurrently, so it does not need to worry about locking, but it may be called from a signal handler so it must avoid any signal-unsafe operations. The decorator is registered via a factory function, which creates a new object. Internally, the new decorators are stored inside the ObjFile object and initialized on the first use. If a different factory function is registered, the old decorators are destroyed on the next call to absl::Symbolize. In order to make the state management simpler, we only support registering a single decorator. The old interface is left in place to make the migration easier, but it will be removed soon. PiperOrigin-RevId: 881284709 Change-Id: I25b9db656531fabebd1004f7ec298dc31613b8e3 | 6 个月前 | |
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 16 天前 | |
Avoid uninitialized memory leak in absl::Symbolize() PiperOrigin-RevId: 947077349 Change-Id: Ib295da3a4c3fc7ed4535449199e4988a55e04fda | 2 个月前 | |
PR #2103: reject invalid symbol table entry size in FindSymbol Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2103 **Unchecked symbol-table entry size in FindSymbol** `symtab->sh_entsize` is read verbatim from the object file and used as the divisor for `num_symbols` and as the per-entry read stride. A crafted ELF whose `SHT_SYMTAB`/`SHT_DYNSYM` header carries an entry size of zero divides by zero here; any other value that differs from `sizeof(ElfW(Sym))` slides the fixed-size symbol reads off the real entries. Added the same exact-size check the section-header paths already apply to `e_shentsize`, so a malformed table is skipped instead of trusted. Merge acc0db4c825b09bc06d59b3a2e6f1981e4ce28d1 into 38f8c1535de9ebc12c6340e5c1c8ebd72afde560 Merging this change closes #2103 PiperOrigin-RevId: 978863309 Change-Id: I80cd8c0b69c617ae8f70321d51d582ffeeb9cfc2 | 15 天前 | |
Remove usage of the WasmOffsetConverter for Wasm / Emscripten stack-traces. It was removed in a recent version of [Emscripten](https://github.com/emscripten-core/emscripten/blob/main/ChangeLog.md#4014---090225). This is unfortunate as there is no longer a way to map from function pointer (index) back to file offset for PC get function name, however the only such uses I could find were the test itself. Stack trace symbolization should still work. PiperOrigin-RevId: 819879868 Change-Id: I5b41d5ebfe5e9f476972e44127bbeaaf2f864281 | 11 个月前 | |
PR #2103: reject invalid symbol table entry size in FindSymbol Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2103 **Unchecked symbol-table entry size in FindSymbol** `symtab->sh_entsize` is read verbatim from the object file and used as the divisor for `num_symbols` and as the per-entry read stride. A crafted ELF whose `SHT_SYMTAB`/`SHT_DYNSYM` header carries an entry size of zero divides by zero here; any other value that differs from `sizeof(ElfW(Sym))` slides the fixed-size symbol reads off the real entries. Added the same exact-size check the section-header paths already apply to `e_shentsize`, so a malformed table is skipped instead of trusted. Merge acc0db4c825b09bc06d59b3a2e6f1981e4ce28d1 into 38f8c1535de9ebc12c6340e5c1c8ebd72afde560 Merging this change closes #2103 PiperOrigin-RevId: 978863309 Change-Id: I80cd8c0b69c617ae8f70321d51d582ffeeb9cfc2 | 15 天前 | |
Remove the legacy stateless symbol decorator API. PiperOrigin-RevId: 884958234 Change-Id: I288a4b143718a155663669b7d2e4a24a89d754ec | 6 个月前 | |
Avoid redefine warnings with ntstatus constants Fixes #1952 PiperOrigin-RevId: 819802635 Change-Id: Ic5ccc1ce61906afbf4ab9e0045b0f54ddaf3be9b | 11 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 12 天前 | ||
| 16 天前 | ||
| 28 天前 | ||
| 24 天前 | ||
| 2 年前 | ||
| 1 个月前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 7 天前 | ||
| 2 个月前 | ||
| 10 个月前 | ||
| 24 天前 | ||
| 6 个月前 | ||
| 16 天前 | ||
| 2 个月前 | ||
| 15 天前 | ||
| 11 个月前 | ||
| 15 天前 | ||
| 6 个月前 | ||
| 11 个月前 |