Mehdi Akiki

Posts tagged "debugging"

  • Published on

    Article · Through the layers

    A SQL Server read waited behind an update

    Reproduce a blocked SQL Server read from Rust, check READ_COMMITTED_SNAPSHOT and distinguish lock timeout 1222 from an application timeout.
  • Published on

    Investigation · Part 10 of 20 · From source to a running process

    The Code That Runs Before main: _start, Constructors and init_array

    With gdb I followed what calls main, where constructors are called from, and in which order init_array and fini_array run. A program without libc starts in 56 microseconds instead of 143, and Rust std has its own function in init_array.
  • Published on
    Rust 1.97 made v0 symbol mangling the stable default. Compare real nm output, read the encoding, and know what changes for profilers, debuggers, and ABI boundaries.
  • Published on

    Reference · Through the layers

    TIL: How to Display the AST in Rust

    Learn how to display the Abstract Syntax Tree (AST) in Rust using the `rustc` compiler and the nightly toolchain.