Tagged articles
2 articles
Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Nov 12, 2024 · Operations

eBPF Talk: Fixing a 7‑Year‑Old Bug in bpftool

The article details how a long‑standing bug that displayed incorrect call‑address information in bpftool’s JIT disassembly was reproduced, analyzed, and fixed by correcting the PC parameter to use the function’s kernel symbol address, with patches applied to both LLVM and libbfd back‑ends.

LLVMbpftooldisassembly
0 likes · 9 min read
eBPF Talk: Fixing a 7‑Year‑Old Bug in bpftool
Python Programming Learning Circle
Python Programming Learning Circle
Mar 28, 2021 · Fundamentals

Understanding Python's for Loop: Syntax, Else Clause, Iterables, Iterators, and Bytecode Disassembly

This article explains Python's for loop in depth, covering basic syntax, the optional else clause, the concepts of iterables and iterators, how to implement custom iterators and iterable objects, the loop's execution flow, an equivalent while‑loop implementation, and a step‑by‑step disassembly of the generated bytecode.

Iterablebytecodedisassembly
0 likes · 12 min read
Understanding Python's for Loop: Syntax, Else Clause, Iterables, Iterators, and Bytecode Disassembly