Tag

Binary Analysis

0 views collected around this technical thread.

Baidu Geek Talk
Baidu Geek Talk
Jun 5, 2023 · Mobile Development

Mach-O File Analysis and Resource Optimization for Baidu iOS App

The article explains how Baidu’s iOS app reduces package size by examining Mach‑O binaries with tools like otool and MachOView, then applying Python scripts to locate oversized assets, eliminate unused configuration files, and deduplicate resources, achieving a 12 MB reduction and a repeatable optimization pipeline.

Binary AnalysisMach-OResource Optimization
0 likes · 18 min read
Mach-O File Analysis and Resource Optimization for Baidu iOS App
HomeTech
HomeTech
Aug 11, 2022 · Fundamentals

Mach-O File Format: Dynamic and Static Library Attribution and API Scanning Solutions

This article introduces the Mach-O executable format, explains how its structure can be leveraged to attribute dynamic and static libraries at runtime and during build, and presents two practical projects—library attribution and fast API scanning—complete with implementation details and code snippets.

API scanningBinary AnalysisMach-O
0 likes · 15 min read
Mach-O File Format: Dynamic and Static Library Attribution and API Scanning Solutions
ByteDance Terminal Technology
ByteDance Terminal Technology
May 11, 2022 · Fundamentals

Common Misconceptions in iOS15 Dynamic Linking and Mach‑O Fixup Chains

This article clarifies three frequent misunderstandings about iOS15+ dynamic linking—namely the encoding of b/bl instructions, the need for rebase/bind in __TEXT segments, and the mismatch between Mach‑O segment VM size and file size—by explaining the underlying ARM64 architecture, PIC concepts, and providing concrete dyld tool examples.

Binary AnalysisDynamic LinkingMach-O
0 likes · 11 min read
Common Misconceptions in iOS15 Dynamic Linking and Mach‑O Fixup Chains
58 Tech
58 Tech
Oct 28, 2021 · Mobile Development

Detecting Unused Code in Mixed Swift and Objective‑C iOS Projects via Mach‑O Analysis

This article explains how to detect and remove unused code in mixed Swift and Objective‑C iOS applications by parsing Mach‑O files, analyzing class metadata, and leveraging AccessFunction calls, while discussing the challenges, implementation details of the WBBlades tool, and practical usage steps.

Binary AnalysisMach-OObjective-C
0 likes · 15 min read
Detecting Unused Code in Mixed Swift and Objective‑C iOS Projects via Mach‑O Analysis
Sohu Tech Products
Sohu Tech Products
Jul 7, 2021 · Mobile Development

Analyzing Mach-O Files with Otool to Identify Unused Classes and Methods in iOS Apps

This article explains how to use the otool command to parse Mach-O sections, extract __objc_classlist and __objc_classrefs, compute their differences, and locate unused Objective‑C classes and methods for iOS app size optimization, providing sample Objective‑C code and detailed implementation steps.

Binary AnalysisMach-Ocode optimization
0 likes · 22 min read
Analyzing Mach-O Files with Otool to Identify Unused Classes and Methods in iOS Apps
58 Tech
58 Tech
Jan 13, 2021 · Fundamentals

Exploring Swift Binary Structure and Dynamic Method Invocation in Mach-O

This article examines Swift's binary representation in Mach-O files, compares it with Objective‑C storage, demonstrates runtime dynamic method calls, and analyzes class metadata, VTable construction, and related flags to reveal how Swift functions are located and invoked at runtime.

Binary AnalysisDynamic InvocationMach-O
0 likes · 16 min read
Exploring Swift Binary Structure and Dynamic Method Invocation in Mach-O
Youzan Coder
Youzan Coder
Jan 8, 2021 · Frontend Development

File Upload Techniques: From Basic Validation to Advanced Resumable Uploads

This article surveys web file‑upload strategies, from basic Blob/File handling and pre‑upload validation—including MIME, extension, and binary header checks—to advanced techniques such as chunked transfers, progress tracking, resumable uploads with pause/resume, and optional compression or encryption via CDN services.

Binary AnalysisChunked UploadFile Upload
0 likes · 20 min read
File Upload Techniques: From Basic Validation to Advanced Resumable Uploads
Sohu Tech Products
Sohu Tech Products
Dec 9, 2020 · Fundamentals

Instrumenting iOS SDKs with LLVM and SanitizerCoverage for BasicBlock‑Level Code Coverage

This article explains how to use LLVM and SanitizerCoverage to insert BasicBlock‑level instrumentation into iOS binaries such as the WeChat SDK, covering the theory of code‑coverage metrics, compilation steps, bitcode extraction, and a practical demo that visualizes runtime execution paths.

BasicBlockBinary AnalysisCode Coverage
0 likes · 17 min read
Instrumenting iOS SDKs with LLVM and SanitizerCoverage for BasicBlock‑Level Code Coverage