Tag

code analysis

1 views collected around this technical thread.

Tencent Technical Engineering
Tencent Technical Engineering
Jun 5, 2025 · Artificial Intelligence

How AI Agents Turn 0‑Day Vulnerability Hunting into an Automated Production Line

This article explores how a multi‑agent AI system dramatically improves 0‑day vulnerability detection by automating code audit, reducing false positives, and outperforming traditional static analysis tools in large‑scale real‑world benchmarks.

0day vulnerabilityAI Agentautomated security testing
0 likes · 9 min read
How AI Agents Turn 0‑Day Vulnerability Hunting into an Automated Production Line
Youzan Coder
Youzan Coder
May 30, 2025 · Artificial Intelligence

AI‑Driven Automated Testing System: Architecture, Workflow, and Benefits

The article introduces an AI‑driven automated testing system that streamlines code self‑testing, improves impact assessment, and generates comprehensive test reports, detailing its modular architecture, workflow, AI test engine, and future enhancements such as UI simulation and AI‑generated unit tests.

AIAI testingContinuous Integration
0 likes · 9 min read
AI‑Driven Automated Testing System: Architecture, Workflow, and Benefits
AntTech
AntTech
May 6, 2025 · Information Security

Security Risk Detection for HarmonyOS ArkTS Code: Architecture, Analysis Framework, and Future Directions

This article presents a comprehensive overview of the security challenges in HarmonyOS native ArkTS applications and describes the design and implementation of a specialized static analysis framework—including source extraction, data‑flow and inter‑function analysis, knowledge‑graph construction, and risk inference engine—while also outlining integration into development pipelines and future research directions.

ArkTSStatic Analysiscode analysis
0 likes · 17 min read
Security Risk Detection for HarmonyOS ArkTS Code: Architecture, Analysis Framework, and Future Directions
大转转FE
大转转FE
Apr 3, 2025 · Frontend Development

Code Impact Range Analysis and Dependency‑Tree Construction for Large Frontend Projects

This article explains how to analyse the impact range of code changes in large frontend projects, describes the architecture and core techniques—including project dependency‑tree building, AST parsing, GitLab diff extraction, and change propagation—provides concrete JavaScript/TypeScript examples, and discusses visualization of the results.

ASTGitLab diffcode analysis
0 likes · 29 min read
Code Impact Range Analysis and Dependency‑Tree Construction for Large Frontend Projects
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 13, 2025 · Backend Development

Master Java Code Analysis with JavaParser: Real‑World Examples

This article introduces JavaParser, an open‑source library for parsing Java source code into an AST, and walks through practical cases covering dependency setup, basic parsing, class and method extraction, code modification, class generation, and comprehensive analysis with code snippets and output screenshots.

ASTJavaJavaParser
0 likes · 10 min read
Master Java Code Analysis with JavaParser: Real‑World Examples
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Mar 12, 2025 · Operations

How Mulan Supercharged Kuaishou’s Code Review Efficiency

This article examines how Kuaishou’s internal Mulan universal code analysis service tackled pipeline quality challenges by introducing on‑demand triggering, incremental checking, and unified rule infrastructure, resulting in dramatically faster static checks, lower rule‑development costs, comprehensive monitoring, and a rapid increase in rule coverage.

CI/CDStatic Analysiscode analysis
0 likes · 13 min read
How Mulan Supercharged Kuaishou’s Code Review Efficiency
Python Programming Learning Circle
Python Programming Learning Circle
Mar 10, 2025 · Backend Development

Using tach to Identify and Validate Python Third‑Party Dependencies

This article explains how to detect missing or unused Python packages, install the tach tool, configure it to analyze a project’s source root, and use its built‑in commands to list and verify external dependencies against the declared requirements, ensuring a clean and reproducible environment.

Pythoncode analysisdependency management
0 likes · 6 min read
Using tach to Identify and Validate Python Third‑Party Dependencies
DeWu Technology
DeWu Technology
Nov 11, 2024 · Backend Development

Precise Testing Platform: Architecture, Recommendation Engine, and Graph Database Implementation

The Precise Testing Platform combines a recommendation engine—featuring a link analyzer, diff analyzer, and knowledge base—to automatically construct detailed method‑call graphs from source code, extract HTTP and Dubbo APIs, handle reflections and inheritance, and store billions of nodes in Nebula Graph, thereby eliminating blind, missed, and redundant tests while boosting coverage and reducing testing costs.

ASTJavabackend development
0 likes · 54 min read
Precise Testing Platform: Architecture, Recommendation Engine, and Graph Database Implementation
Test Development Learning Exchange
Test Development Learning Exchange
Aug 25, 2024 · Fundamentals

Understanding Python's Abstract Syntax Tree (AST) with Practical Examples

This article introduces Python's Abstract Syntax Tree (AST), explains its purpose for code analysis and transformation, and provides ten detailed examples that demonstrate building, inspecting, modifying, and generating code using the ast module in a standard Python environment.

ASTAbstract Syntax TreeTutorial
0 likes · 9 min read
Understanding Python's Abstract Syntax Tree (AST) with Practical Examples
Ctrip Technology
Ctrip Technology
Jan 11, 2024 · Backend Development

Building a Backend Java Code‑Analysis Platform for Precise Testing and Application Slimming

This article describes how to construct a code‑analysis platform for Java micro‑services that builds a knowledge base through static, semi‑dynamic and dynamic analysis, enabling precise test‑case selection and safe removal of dead code to improve iteration efficiency and system maintainability.

Dynamic AnalysisStatic Analysisapplication slimming
0 likes · 17 min read
Building a Backend Java Code‑Analysis Platform for Precise Testing and Application Slimming
DeWu Technology
DeWu Technology
Nov 27, 2023 · Operations

Precise Testing Platform: Practice, Data, and Insights

A precise testing platform built on AST analysis and a recommendation engine was deployed across four core applications, enabling automated test execution with 100% pass rates, at least 75% service coverage, around 80% precision, early defect interception, and up to one hour per‑iteration time savings while planning further expansion and precision improvements.

ASTcode analysisplatform
0 likes · 11 min read
Precise Testing Platform: Practice, Data, and Insights
Architect's Tech Stack
Architect's Tech Stack
Nov 14, 2023 · Backend Development

Understanding Why HashMap.keySet() Traversal Involves Two Iterations and Its Internal Mechanism

This article explains the internal workings of HashMap traversal in Java, showing why using keySet() results in two passes—first converting to an iterator and then fetching values—and details the underlying iterator, KeyIterator, and HashIterator implementations with code examples.

BackendHashMapIterator
0 likes · 9 min read
Understanding Why HashMap.keySet() Traversal Involves Two Iterations and Its Internal Mechanism
Architect
Architect
Oct 18, 2023 · Artificial Intelligence

Code Understanding: Techniques, Applications, and AI‑Driven Solutions

This article explores the fundamentals of code understanding, including static, dynamic, and non‑code analysis, presents a three‑layer architecture for scalable code comprehension, and demonstrates practical AI‑enhanced applications such as intelligent unit testing, dead‑code detection, and AI‑based static analysis within CI/CD pipelines.

AICI/CDLLM
0 likes · 16 min read
Code Understanding: Techniques, Applications, and AI‑Driven Solutions
php中文网 Courses
php中文网 Courses
Oct 17, 2023 · Backend Development

Understanding PHP Reflection: Classes, Methods, Properties, and Annotations

This article explains PHP's reflection capabilities, detailing how developers can inspect classes, interfaces, methods, and properties at runtime, and demonstrates practical uses such as dynamic object creation, method invocation, property manipulation, and annotation parsing with code examples.

Dynamic InstantiationPHPbackend development
0 likes · 5 min read
Understanding PHP Reflection: Classes, Methods, Properties, and Annotations
Baidu Geek Talk
Baidu Geek Talk
Oct 9, 2023 · Artificial Intelligence

Code Understanding Technology: Building White-Box Software Knowledge Graph at Baidu

Baidu’s white‑box code understanding platform combines static, dynamic, non‑code and LLM‑based analyses in a three‑layer architecture that accelerates C/C++ processing ninefold, supports multiple languages, and powers applications such as intelligent unit testing, orphan‑function cleanup and AI‑driven risk detection, while future integration with models like GPT‑4 aims to enable multi‑turn code Q&A, automated refactoring and predictive testing.

ASTBaiduCI/CD
0 likes · 15 min read
Code Understanding Technology: Building White-Box Software Knowledge Graph at Baidu
Baidu App Technology
Baidu App Technology
Aug 29, 2023 · Mobile Development

iOS App Package Size Optimization: A Technical Approach

To accurately trim iOS app binaries, the article discards low‑precision Mach‑O/LinkMap methods and instead builds a custom compilation pipeline using libtooling and the Swift compiler to analyze full abstract syntax trees, enabling reliable detection of unused methods across complex language features and inheritance hierarchies.

ASTcode analysisios-optimization
0 likes · 14 min read
iOS App Package Size Optimization: A Technical Approach
Sohu Tech Products
Sohu Tech Products
Jul 19, 2023 · Backend Development

Analyzing TypeScript AST to Track API Usage and Build a Visualized Plugin

This article explains how to convert TypeScript source code into an AST, traverse it to collect import statements, distinguish various import forms, and use the TypeScript compiler API to locate identifier symbols, enabling accurate counting of API calls and line numbers for a given dependency.

ASTCompiler APIImport Tracking
0 likes · 12 min read
Analyzing TypeScript AST to Track API Usage and Build a Visualized Plugin
Baidu App Technology
Baidu App Technology
Jul 10, 2023 · Mobile Development

Baidu App iOS Package Size Optimization: Code Optimization Techniques

The article explains how Baidu App reduces its iOS package size by analyzing Link Map files and applying six code‑optimization techniques—unused class and module slimming, unused method pruning with LLVM, duplicate‑code detection, utility‑method consolidation, and A/B‑test hardening—yielding up to 8 MB of savings.

AB testingLink MapMach-O
0 likes · 15 min read
Baidu App iOS Package Size Optimization: Code Optimization Techniques
JD Retail Technology
JD Retail Technology
Jan 5, 2023 · Mobile Development

Design and Implementation of an Android Code Impact Analysis Tool Using Git Diff and ASM

This article presents a comprehensive approach to building an Android code impact analysis tool that leverages Git diff to locate modified lines, employs ASM-based class and method visitors to construct upward and downward call chains, extracts Javadoc and custom tags, and visualizes the results for developers and testers.

ASMAndroidGradle
0 likes · 21 min read
Design and Implementation of an Android Code Impact Analysis Tool Using Git Diff and ASM