An Opinionated Overview on Static Analysis for Java
Whole-program points-to analysis has many diverse usages, for example, call graph construction, security analysis, auto-parallelization, bug analysis, heap allocation analysis, and program debugging and understanding. As a result, many different flavors of analysis have been proposed: an analysis can be sound or unsound; context insensitive or context sensitive; flow sensitive; path sensitive; memory sensitive. We start with an overview of academic research that explains all the terms. Then we make the claim that static analysis for Java is actually much harder than it looks at the first: Reflection, JNI, Unsafe memory access, method handles, VarHandle, bootstrap methods, ... are all concepts in Java that are overlooked in many of the academic research papers. While that is acceptable for some use cases of static analysis, most real-world use cases cannot ignore it. We show how all of these dynamic features can be handled without sacrificing the precision of the analysis in the static analysis framework that we developed as part of GraalVM Native Image. The presentation will be quite example-driven: we will illustrate where a points-to analysis can successfully prove important whole-program properties that are useful for optimizations and security analysis. But we will also show examples where a points-to analysis fails to prove facts that look trivial for humans.
Resources
• In Defense of Soundiness: A Manifesto ➤
• Scalable Pointer Analysis of Data Structures Using Semantic Models ➤
• Context Sensitivity without Contexts: A Cut-Shortcut Approach to Fast and Precise Pointer Analysis ➤
• GraalVM ➤
• Inside Java ➤
• ➤
• JVMLS ➤
3,374 views
8
0
2 weeks ago 00:40:36 7
L’INTERVIEW ULTIME DE PIOTR TOLSTOÏ PAR XAVIER MOREAU | GPTV
2 months ago 00:15:31 1
Lair of the Madhat | TRUE ADVENTURE! | Part 1 - Playthrough w/ facecam
2 months ago 00:09:47 2
Something BIG is happening in Europe, the power FAILURE is just phase one | Redacted News
2 months ago 00:03:10 1
XAI27K Presale: The Next Big Thing in Crypto – How to Buy XAI Token 🚀 (2025 Guide)
2 months ago 00:42:10 5
Tommy Robinson - The Untold Story
3 months ago 00:04:08 1
Why Timothee Chalamet’s Acting Is Different (Video Essay)
3 months ago 00:05:59 3
ZFE : Vers une suspension de 5 ans ?
4 months ago 00:11:17 18
Monster Hunter Wilds PC - Profound Perf Problems Must Be Addressed
5 months ago 00:05:22 1
The First Signs of Tyranny, From People Who Missed Them | NYT Opinion
5 months ago 02:39:28 6
Old English Pronunciation: A Comprehensive Reconstruction
5 months ago 00:12:05 1
ZenBusiness Review 2025: What Makes It Stand Out?
5 months ago 00:03:57 1
Greg Secker Exposed: Is Smartcharts Legit or a Scam?
6 months ago 00:04:45 1
f(x) 에프엑스 ’Red Light’ | . team | cover dance |
6 months ago 00:03:40 1
[K-POP IN PUBLIC | ONE TAKE] MAMAMOO(마마무) _ Egotistic(너나 해) | . team | cover dance |
6 months ago 00:07:03 1
SmartCharts Review : Is This the Best Trading Platform for Beginners?
6 months ago 00:08:59 1
Telegram Signal Copier : Trade Smarter, Not Harder!
6 months ago 00:04:42 1
Copy Trading : Telegram Signal Copier to Skyrocket Profits!
6 months ago 00:06:02 1
Best Forex Broker : PU Prime Review for 2024!
6 months ago 00:06:32 1
Best Forex Indicator : Why SmartCharts is a Game Changer in 2025!
6 months ago 00:05:10 1
How to Invest in Presale Crypto and Maximize Your Profits!
6 months ago 00:07:44 1
How to Use AI Tools to Make Money Online – Easy and Effective!
6 months ago 00:05:34 1
Crypto Trading for Beginners & Top Forex Trading Signals to Maximize Your Profits!
6 months ago 01:00:57 1
Complément d’enquête. Catherine Deneuve : la demoiselle insoumise - 30 août 2018 (France 2)
6 months ago 00:06:44 1
Matt Gaetz speaks at AmericaFest 2024 | LiveNOW from FOX