Unwinding the Stack the Hard Way

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. rust-minidump

    Type definitions, parsing, and analysis for the minidump file format.

    Generally what we do when we fall back to scanning depends on the architecture. For x86 you can find the logic here: https://github.com/rust-minidump/rust-minidump/blob/77638ab7...

    Since we do post-hoc stack walking our ability to actually look at the assembly is limited. In most cases where we have no CFI we also do not have the binary to begin with, so we're in random memory land.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. ClickHouse

    ClickHouse® is a real-time analytics database management system

    We have implemented asynchronous signal-safe in-process stack unwinding for always-on profiler in ClickHouse: https://clickhouse.com/docs/en/operations/optimizing-perform...

    The downside - it required many patches to LLVM's libunwind, and not all of them are accepted yet: https://bugs.llvm.org/show_bug.cgi?id=48186

    ClickHouse source code: https://github.com/ClickHouse/ClickHouse

  4. tock

    A secure embedded operating system for microcontrollers

    Yeah, and I like I mentioned in the earlier comment, omitting the frame pointer reduces code size by 10% on RISC-V targets, which is huge when dealing with embedded flash: https://github.com/tock/tock/pull/1660

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • A secure embedded operating system for microcontrollers

    3 projects | news.ycombinator.com | 2 Jun 2024
  • OxidOS Automotive

    1 project | news.ycombinator.com | 17 Mar 2024
  • What's everyone working on this week (49/2023)?

    6 projects | /r/rust | 5 Dec 2023
  • Safety vs. Performance. A case study of C, C++ and Rust sort implementations

    11 projects | news.ycombinator.com | 5 Oct 2023
  • struct_db 0.4.0

    2 projects | /r/rust | 9 Aug 2023

Did you know that Rust is
the 5th most popular programming language
based on number of references?