CcNav: Understanding Compiler Optimizations in Binary Code
Sabin Devkota, Pascal Aschwanden, Adam Kunen, Matthew P. LeGendre, Katherine E. Isaacs
Abstract
Program developers spend significant time on optimizing and tuning programs. During this iterative process, they apply optimizations, analyze the resulting code, and modify the compilation until they are satisfied. Understanding what the compiler did with the code is crucial to this process but is very time-consuming and labor-intensive. Users need to navigate through thousands of lines of binary code and correlate it to source code concepts to understand the results of the compilation and to identify optimizations. We present a design study in collaboration with program developers and performance analysts. Our collaborators work with various artifacts related to the program such as binary code, source code, control flow graphs, and call graphs. Through interviews, feedback, and pair-analytics sessions, we analyzed their tasks and workflow. Based on this task analysis and through a human-centric design process, we designed a visual analytics system Compilation Navigator (CcNav ) to aid exploration of the effects of compiler optimizations on the program. CcNav provides a streamlined workflow and a unified context that integrates disparate artifacts. CcNav supports consistent interactions across all the artifacts making it easy to correlate binary code with source code concepts. CcNav enables users to navigate and filter large binary code to identify and summarize optimizations such as inlining, vectorization, loop unrolling, and code hoisting. We evaluate CcNav through guided sessions and semi-structured interviews. We reflect on our design process, particularly the immersive elements, and on the transferability of design studies through our experience with a previous design study on program analysis.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 707a1593-a1a5-4c8d-8bd7-e8cb9683753aBuilds on1
Related papers
- Traveler: Navigating Task Parallel Traces for Performance AnalysisSayef Azad Sakin, Alex Bigelow, R. Tohid, Connor Scully-Allison et al.IEEE VIS 2022 · 10 citations
- CPVis: Evidence-based Multimodal Learning Analytics for Evaluation in Collaborative ProgrammingGefei Zhang, Shenming Ji, Yicao Li, Jingwei Tang et al.CHI 2025 · 8 citations
- VAID: Indexing View Designs in Visual Analytics SystemLu Ying, Aoyu Wu, Haotian Li, Zikun Deng et al.CHI 2024 · 11 citations
- Diff in the Loop: Supporting Data Comparison in Exploratory Data AnalysisApril Yi Wang, Will Epperson, Robert A. DeLine, Steven Mark DruckerCHI 2022 · 34 citations
- TweakIt: Supporting End-User Programmers Who Transmogrify CodeSam Lau, Sruti Srinivasa Ragavan, Ken Milne, Titus Barik et al.CHI 2021 · 26 citations
