Lune

OOPSLA2024Top-tier venue

PP-CSA: Practical Privacy-Preserving Software Call Stack Analysis

Zhaoyu Wang, Pingchuan Ma, Huaijin Wang, Shuai Wang

Abstract

Software call stack is a sequence of function calls that are executed during the runtime of a software program. Software call stack analysis (CSA) is widely used in software engineering to analyze the runtime behavior of software, which can be used to optimize the software performance, identify bugs, and profile the software. Despite the benefits of CSA, it has recently come under scrutiny due to concerns about privacy. To date, software is often deployed at user-side devices like mobile phones and smart watches. The collected call stacks may thus contain privacy-sensitive information, such as healthy information or locations, depending on the software functionality. Leaking such information to third parties may cause serious privacy concerns such as discrimination and targeted advertisement. This paper presents PP-CSA, a practical and privacy-preserving CSA framework that can be deployed in real-world scenarios. Our framework leverages local differential privacy (LDP) as a principled privacy guarantee, to mutate the collected call stacks and protect the privacy of individual users. Furthermore, we propose several key design principles and optimizations in the technical pipeline of PP-CSA, including an encoder-decoder scheme to properly enforce LDP over software call stacks, and several client/server-side optimizations to largely improve the efficiency of PP-CSA. Our evaluation over real-world Java and Android programs shows that our privacy-preserving CSA pipeline can achieve high utility and privacy guarantees while maintaining high efficiency. We have released our implementation of PP-CSA as an open-source project at https://github.com/wangzhaoyu07/PP-CSA for results reproducibility. We will provide more detailed documents to support and the usage and extension of the community.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Protecting Source Code Privacy When Hunting Memory Bugs cites Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and Enhancements
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Preserving Privacy in Software Composition Analysis: A Study of Technical Solutions and EnhancementsHuaijin Wang, Zhibo Liu, Yanbo Dai, Shuai Wang et al.ICSE 2025 · 2 citations
  2. Protecting Source Code Privacy When Hunting Memory BugsJielun Wu, Bing Shui, Hongcheng Fan, Shengxin Wu et al.ASE 2025

Related papers

  1. Differentially-private software frequency profiling under linear constraintsHailong Zhang, Yu Hao, Sufian Latif, Raef Bassily et al.OOPSLA 2020 · 1 citation
  2. Real-Time Trajectory Synthesis with Local Differential PrivacyYujia Hu, Yuntao Du, Zhikun Zhang, Ziquan Fang et al.ICDE 2024 · 20 citations
  3. Differentially-Private Control-Flow Node Coverage for Software Usage AnalysisHailong Zhang, Sufian Latif, Raef Bassily, Atanas RountevUSENIX Security 2020
  4. Otus: A Gaze Model-based Privacy Control Framework for Eye Tracking ApplicationsMiao Hu, Zhenxiao Luo, Yipeng Zhou, Xuezheng Liu et al.INFOCOM 2022 · 8 citations
  5. L-SRR: Local Differential Privacy for Location-Based Services with Staircase Randomized ResponseHan Wang, Hanbin Hong, Li Xiong, Zhan Qin et al.CCS 2022 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines