Tagged articles
16 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Jul 9, 2025 · Mobile Development

Choosing the Right Static Analyzer for iOS: SonarQube vs Infer vs Clang

This article compares popular static‑code analysis tools for iOS—including SonarQube, Infer, and Clang Static Analyzer—detailing their language support, features, pros and cons, integration methods, and practical usage tips, helping developers select the most suitable solution for their projects.

ClangInferSonarQube
0 likes · 30 min read
Choosing the Right Static Analyzer for iOS: SonarQube vs Infer vs Clang
php Courses
php Courses
Jul 4, 2025 · Fundamentals

Set Up a Powerful C++ Development Environment for Windows, Linux, macOS

This guide walks you through installing and configuring four major C++ development tools—Visual Studio, GCC, Clang, and CMake—covering platform-specific steps for Windows, Linux, and macOS, and highlights each tool’s advantages to help you choose the right environment for your projects.

CCMakeClang
0 likes · 6 min read
Set Up a Powerful C++ Development Environment for Windows, Linux, macOS
Sohu Tech Products
Sohu Tech Products
Jan 8, 2025 · Mobile Development

Unveiling iOS Blocks: Memory Layout, Types, and Clang Conversion

This article dissects iOS blocks, explaining their struct‑based memory layout, the three block types, how they are transformed into C++ code with clang, and the impact of capturing variables—including value, static, global, and object references—on block behavior and lifecycle.

BlocksCClang
0 likes · 12 min read
Unveiling iOS Blocks: Memory Layout, Types, and Clang Conversion
Liangxu Linux
Liangxu Linux
Sep 15, 2024 · Backend Development

Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars

This article introduces five widely used, free C/C++ compilers—GCC, Clang/LLVM, Tiny C Compiler, Microsoft Visual C++, and Digital Mars—detailing their main features, platform support, typical usage commands, and ideal application scenarios for developers seeking lightweight or powerful compilation tools.

C++ClangMSVC
0 likes · 12 min read
Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars
Sohu Tech Products
Sohu Tech Products
Jan 31, 2024 · Fundamentals

Understanding Mach-O: Structure, Definitions, and Practical Applications

Mach‑O is the macOS and iOS binary format whose header, load commands, and __TEXT/__DATA sections define executable, library, and symbol information, enabling developers to understand loading, linking, and startup performance, and to implement custom initialization hooks or modular launch tasks via custom data sections.

Binary FormatClangMach-O
0 likes · 10 min read
Understanding Mach-O: Structure, Definitions, and Practical Applications
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 7, 2022 · Mobile Development

Practical Guide to Using OCLint for Static Code Analysis in iOS Projects

This practical guide walks iOS developers through installing OCLint, generating a compilation database, creating custom Clang‑AST rules, optimizing analysis runtime with parallel processing, and interpreting results that uncovered hundreds of performance‑critical issues, demonstrating how static analysis can dramatically improve startup speed.

AutomationClangOCLint
0 likes · 19 min read
Practical Guide to Using OCLint for Static Code Analysis in iOS Projects
Tencent Cloud Developer
Tencent Cloud Developer
Sep 5, 2022 · Fundamentals

Static Function Hooking in Objective-C Using LLVM Pass

The article presents a technique for static function hooking in Objective‑C by writing a custom LLVM Pass that modifies the intermediate representation during compilation to inject stub calls at chosen points inside a function, and details the required LLVM setup, Pass implementation, Clang integration, and Xcode configuration.

ClangIR ModificationLLVM
0 likes · 11 min read
Static Function Hooking in Objective-C Using LLVM Pass
ByteDance Terminal Technology
ByteDance Terminal Technology
Jul 28, 2021 · Backend Development

Investigating a Clang -Oz Optimization Bug that Triggers Memory Bloat in a Video Component

The article describes how enabling the aggressive size‑optimisation flag -Oz in Clang caused a video component to create numerous GLFramebuffer and CVPixelBuffer objects, leading to OOM crashes, and explains the underlying ARC and Machine Outliner interactions that exposed a compiler bug which was later fixed in LLVM.

ClangLLVMmachine-outliner
0 likes · 11 min read
Investigating a Clang -Oz Optimization Bug that Triggers Memory Bloat in a Video Component
Meituan Technology Team
Meituan Technology Team
Nov 22, 2018 · Mobile Development

Hades: A Mobile Static Analysis Framework for Large-Scale iOS Projects

Hades is a self‑developed static‑analysis framework for Meituan‑Dianping’s large‑scale iOS codebases that leverages Clang/LLVM to build a high‑level semantic model, enabling global, incremental checks, custom lint tools, CI integration, and efficient code‑quality maintenance across massive projects.

ASTClangFramework
0 likes · 19 min read
Hades: A Mobile Static Analysis Framework for Large-Scale iOS Projects
MaGe Linux Operations
MaGe Linux Operations
Sep 28, 2015 · Fundamentals

Boost Your Vim with YouCompleteMe: A Semantic Code Completion Guide

This article introduces the YouCompleteMe Vim plugin, explains its semantic completion advantages over traditional text‑based methods, lists supported languages, shows installation and compilation steps for macOS and Linux, and provides configuration tips to achieve IDE‑like code assistance within Vim.

CClangcode completion
0 likes · 14 min read
Boost Your Vim with YouCompleteMe: A Semantic Code Completion Guide
Baidu Tech Salon
Baidu Tech Salon
Jun 5, 2014 · Fundamentals

Chris Lattner: LLVM, Clang, and the Creation of Swift

Chris Lattner, the original creator of LLVM and Clang, now leads Apple’s Developer Tools division and has driven the development of Swift since 2010, integrating his compiler expertise, fostering interactive tools like Xcode Playgrounds, and shaping modern programming education.

ClangLLVMSwift
0 likes · 6 min read
Chris Lattner: LLVM, Clang, and the Creation of Swift