A protocol-centric approach to on-the-fly race detection

被引:11
|
作者
Perkovic, D [1 ]
Keleher, PJ [1 ]
机构
[1] Univ Maryland, Dept Comp Sci, College Pk, MD 20742 USA
关键词
data races; on-the-fly; DSM; shared memory;
D O I
10.1109/71.888645
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present the design and evaluation of a new data-race-detection technique. Our technique executes at runtime rather than post-mortem, and handles unmodified shared-memory applications that run on top of CVM, a software distributed shared memory system. We do not assume explicit associations between synchronization and shared data, and require neither compiler support nor program source. Instead, we use a binary code re-writer to instrument instructions that may access shared memory. The most novel aspect of our system is that we are able to use information from the underlying memory system implementation in order to reduce the number of comparisons made at runtime. We present an experimental evaluation of our techniques by using out system to look far data races in five common shared-memory programs. We quantify the effect of several optimizations to the basic technique: data flow analysis, instrumentation batching, runtime code modification, and instrumentation inlining. Our system correctly found races in three of the five programs, including two from a standard benchmark suite. The slowdown of this debugging technique averages less than 2.5 for our applications.
引用
收藏
页码:1058 / 1072
页数:15
相关论文
共 50 条
  • [31] Finding SMM Privilege-Escalation Vulnerabilities in UEFI Firmware with Protocol-Centric Static Analysis
    Yin, Jiawei
    Li, Menghao
    Wu, Wei
    Sun, Dandan
    Zhou, Jianhua
    Huo, Wei
    Xue, Jingling
    43RD IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2022), 2022, : 1623 - 1637
  • [32] An Approach to Testing Web Applications On-The-Fly
    Li, Liping
    Qian, Zhongsheng
    He, Tao
    ICMECG: 2009 INTERNATIONAL CONFERENCE ON MANAGEMENT OF E-COMMERCE AND E-GOVERNMENT, PROCEEDINGS, 2009, : 428 - +
  • [33] An on-the-fly model-checker for security protocol analysis
    Basin, D
    Mödersheim, S
    Viganò, L
    COMPUTER SECURITY - ESORICS 2003, PROCEEDINGS, 2003, 2808 : 253 - 270
  • [34] Featherlight On-the-fly False-sharing Detection
    Chabbi, Milind
    Wen, Shasha
    Liu, Xu
    ACM SIGPLAN NOTICES, 2018, 53 (01) : 152 - 167
  • [35] On-the-fly Progress Detection in Iterative Stream Queries
    Chandramouli, Badrish
    Goldstein, Jonathan
    Maier, David
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2009, 2 (01): : 241 - 252
  • [36] On-the-Fly Detection of Novel Objects in Indoor Environments
    Langer, Edith
    Ridder, Bram
    Cashmore, Michael
    Magazzeni, Daniele
    Zillich, Michael
    Vincze, Markus
    2017 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND BIOMIMETICS (IEEE ROBIO 2017), 2017, : 900 - 907
  • [37] An On-The-Fly Approach for the Verification of Opacity in Critical Systems
    Klai, Kais
    Hamdi, Nawel
    Ben Hadj-Alouane, Nejib
    2014 IEEE 23RD INTERNATIONAL WETICE CONFERENCE (WETICE), 2014, : 345 - 350
  • [38] A Novel Approach for On-The-Fly Test Cases Synthesis
    Mei, Jia
    Miao, Huaikou
    Liu, Pan
    SNPD 2009: 10TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCES, NETWORKING AND PARALLEL DISTRIBUTED COMPUTING, PROCEEDINGS, 2009, : 575 - 578
  • [39] LIMITS OF DETECTION AND RESOLUTION FOR ON-THE-FLY FLUORESCENCE LIFETIME DETECTION IN HPLC
    SMALLEY, MB
    MCGOWN, LB
    ANALYTICAL CHEMISTRY, 1995, 67 (08) : 1371 - 1376
  • [40] ON-THE-FLY HEALING OF RACE CONDITIONS IN ARINC-653 FLIGHT SOFTWARE
    Ha, Ok-Kyoon
    Tchamgoue, Guy Martin
    Suh, Jeong-Bae
    Jun, Yong-Kee
    29TH DIGITAL AVIONICS SYSTEMS CONFERENCE: IMPROVING OUR ENVIRONMENT THROUGH GREEN AVIONICS AND ATM SOLUTIONS, 2010,