Tagged articles
4 articles
Page 1 of 1
21CTO
21CTO
Jan 13, 2026 · Backend Development

Building a C Static Analyzer with MoonBit: From Lexer to Data‑Flow Analysis

This article walks through the design and implementation of a static analysis framework for C programs using MoonBit, covering lexical and syntactic parsing, AST generation, conversion to a control‑flow‑graph IR, and data‑flow analyses such as uninitialized‑variable detection and liveness.

CILData FlowMoonBit
0 likes · 19 min read
Building a C Static Analyzer with MoonBit: From Lexer to Data‑Flow Analysis
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Nov 17, 2024 · Fundamentals

TypeScript 5.7 Unveils a Flood of New Features

TypeScript 5.7 introduces stricter uninitialized‑variable checks, relative import rewriting, ES2024 target and lib support, faster project‑file discovery, V8 compile‑cache integration, JSON module import validation, generic TypedArray definitions, class index‑signature generation from computed method names, and implicit‑any errors for null/undefined returns, all illustrated with concrete code examples.

5.7TypeScriptcompile cache
0 likes · 16 min read
TypeScript 5.7 Unveils a Flood of New Features
IT Services Circle
IT Services Circle
Mar 5, 2024 · Fundamentals

Why Adding printf Can Hide Segmentation Faults: A Debugging Tale

An amusing yet instructive narrative shows how a C program that crashes with a segmentation fault can appear to work after inserting a printf, explaining that uninitialized local variables contain leftover stack data and that debugging tools like GDB reveal the true cause.

C Programminggdbprintf
0 likes · 8 min read
Why Adding printf Can Hide Segmentation Faults: A Debugging Tale
Liangxu Linux
Liangxu Linux
Dec 9, 2023 · Fundamentals

Why Adding a printf Can “Bless” a Crashing C Program

A humorous tale reveals how an uninitialized stack variable caused a segmentation fault in C, how inserting a printf unintentionally altered memory to hide the bug, and why proper debugging with GDB is essential to understand such hidden issues.

c++debuggingprintf side effect
0 likes · 9 min read
Why Adding a printf Can “Bless” a Crashing C Program