Pin: building customized program analysis tools with dynamic instrumentation
The DOI matches its Crossref record; 10 of the 10 references it cites were found in a registry or an index.
Abstract
Robust and powerful software instrumentation tools are essential for program analysis tasks such as profiling, performance evaluation, and bug detection. To meet this need, we have developed a new instrumentation system called Pin . Our goals are to provide easy-to-use, portable, transparent , and efficient instrumentation. Instrumentation tools (called Pintools ) are written in C/C++ using Pin's rich API. Pin follows the model of ATOM, allowing the tool writer to analyze an application at the instruction level without the need for detailed knowledge of the underlying instruction set. The API is designed to be architecture independent whenever possible, making Pintools source compatible across different architectures. However, a Pintool can access architecture-specific details when necessary. Instrumentation with Pin is mostly transparent as the application and Pintool observe the application's original, uninstrumented behavior. Pin uses dynamic compilation to instrument executables while they are running. For efficiency, Pin uses several techniques, including inlining, register re-allocation, liveness analysis, and instruction scheduling to optimize instrumentation. This fully automated approach delivers significantly better instrumentation performance than similar tools. For example, Pin is 3.3x faster than Valgrind and 2x faster than DynamoRIO for basic-block counting. To illustrate Pin's versatility, we describe two Pintools in daily use to analyze production software. Pin is publicly available for Linux platforms on four architectures: IA32 (32-bit x86), EM64T (64-bit x86), Itanium®, and ARM. In the ten months since Pin 2 was released in July 2004, there have been over 3000 downloads from its website.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Automatically characterizing large scale program behavior
Sherwood, T., Perelman, E., Hamerly, G., & Calder, B. (2002) · Proceedings of the 10th international conference on Architectural support for programming languages and operating systems · doi:10.1145/605397.605403 · Cited by 1,674
ATOM: a system for building customized program analysis tools
Srivastava, A., & Eustace, A. (1994) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/178243.178260 · Cited by 981
SPEC CPU2000: Measuring CPU Performance in the New Millennium
Henning, J. L. (2000) · Computer · doi:10.1109/2.869367 · Cited by 937
Dynamic instrumentation of production systems
Cantrill, B., Shapiro, M. W., & Leventhal, A. H. (2004) · Cited by 440
Efficient, transparent, and comprehensive runtime code manipulation
Bruening, D. L., & Amarasinghe, S. P. (2004) · DSpace@MIT (Massachusetts Institute of Technology) · Cited by 439
Linear scan register allocation
Poletto, M., & Sarkar, V. (1999) · ACM Transactions on Programming Languages and Systems · doi:10.1145/330249.330250 · Cited by 357
The Jalapeño dynamic optimizing compiler for Java
Burke, M. G., Choi, J.-D., Fink, S. J., Grove, D., Hind, M., Sarkar, V., Serrano, M. J., Sreedhar, V. C., Srinivasan, H., & Whaley, J. (1999) · Joint ACM-ISCOPE Conference on Java Grande · doi:10.1145/304065.304113 · Cited by 310
Proceedings of the 5th symposium on Operating systems design and implementation
Culler, D., & Druschel, P. (2002) · Operating Systems Design and Implementation · Cited by 216
Vulcan Binary transformation in a distributed environment
Srivastava, A., Edwards, A. J., & Vo, H. (2001) · Cited by 170
Large System Performance of SPEC OMP2001 Benchmarks
SPEC High-Performance Group, Saito, H., Gaertner, G., Jones, W. B., Eigenmann, R., Iwashita, H., Lieberman, R., van Waveren, M., & Whitney, B. (2002) · Lecture notes in computer science · doi:10.1007/3-540-47847-7_34 · Cited by 36
Cited by
Rodinia: A benchmark suite for heterogeneous computing
Che, S., Boyer, M., Meng, J., Tarjan, D., Sheaffer, J. W., Lee, S.-H., & Skadron, K. (2009) · 2009 IEEE International Symposium on Workload Characterization (IISWC) · doi:10.1109/iiswc.2009.5306797 · Cited by 3,018
Li, S., Ahn, J. H., Strong, R. D., Brockman, J. B., Tullsen, D. M., & Jouppi, N. P. (2009) · Proceedings of the 42nd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1145/1669112.1669172 · Cited by 2,376
Valgrind: a framework for heavyweight dynamic binary instrumentation
Nethercote, N., & Seward, J. (2007) · Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1250734.1250746 · Cited by 2,244
Sniper: exploring the level of abstraction for scalable and accurate parallel multi-core simulation
Carlson, T. E., Heirman, W., & Eeckhout, L. (2011) · Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis · doi:10.1145/2063384.2063454 · Cited by 840
A scalable processing-in-memory accelerator for parallel graph processing
Ahn, J., Hong, S., Yoo, S., Mutlu, O., & Choi, K. (2015) · Proceedings of the 42nd Annual International Symposium on Computer Architecture · doi:10.1145/2749469.2750386 · Cited by 767
BitBlaze: A New Approach to Computer Security via Binary Analysis
Song, D., Brumley, D., Yin, H., Caballero, J., Jager, I., Kang, M. G., Liang, Z., Newsome, J., Poosankam, P., & Saxena, P. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-89862-7_1 · Cited by 718
Szekeres, L., Payer, M., Wei, T., & Song, D. (2013) · 2013 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2013.13 · Cited by 664
NV-Heaps: making persistent objects fast and safe with next-generation, non-volatile memories
Coburn, J., Caulfield, A. M., Akel, A., Grupp, L. M., Gupta, R. K., Jhala, R., & Swanson, S. (2011) · Proceedings of the sixteenth international conference on Architectural support for programming languages and operating systems · doi:10.1145/1950365.1950380 · Cited by 646
High performance cache replacement using re-reference interval prediction (RRIP)
Jaleel, A., Theobald, K. B., Steely, S. C., & Emer, J. (2010) · Proceedings of the 37th annual international symposium on Computer architecture · doi:10.1145/1815961.1815971 · Cited by 641
VUzzer: Application-aware Evolutionary Fuzzing
Rawat, S., Jain, V., Kumar, A., Cojocar, L., Giuffrida, C., & Bos, H. (2017) · Proceedings 2017 Network and Distributed System Security Symposium · doi:10.14722/ndss.2017.23404 · Cited by 584
(2021) · doi:10.1109/tse.2019.2946563 · Cited by 574
Return-oriented programming without returns
Checkoway, S., Davi, L., Dmitrienko, A., Sadeghi, A.-R., Shacham, H., & Winandy, M. (2010) · Proceedings of the 17th ACM conference on Computer and communications security · doi:10.1145/1866307.1866370 · Cited by 530
Cho, S., & Lee, H. (2009) · Proceedings of the 42nd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1145/1669112.1669157 · Cited by 523
Unleashing Mayhem on Binary Code
Cha, S. K., Avgerinos, T., Rebert, A., & Brumley, D. (2012) · 2012 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2012.31 · Cited by 518
S2E: a platform for in-vivo multi-path analysis of software systems
Chipounov, V., Kuznetsov, V., & Candea, G. (2011) · Proceedings of the sixteenth international conference on Architectural support for programming languages and operating systems · doi:10.1145/1950365.1950396 · Cited by 514
Graphite: A distributed parallel simulator for multicores
Miller, J. E., Kasture, H., Kurian, G., Gruenwald, C., Beckmann, N., Celio, C., Eastep, J., & Agarwal, A. (2010) · HPCA - 16 2010 The Sixteenth International Symposium on High-Performance Computer Architecture · doi:10.1109/hpca.2010.5416635 · Cited by 478
ZSim: fast and accurate microarchitectural simulation of thousand-core systems
Sanchez, D., & Kozyrakis, C. (2013) · Proceedings of the 40th Annual International Symposium on Computer Architecture · doi:10.1145/2485922.2485963 · Cited by 460
ThreadSanitizer: data race detection in practice
Serebryany, K., & Iskhodzhanov, T. (2009) · Proceedings of the Workshop on Binary Instrumentation and Applications · doi:10.1145/1791194.1791203 · Cited by 451
RAIDR: Retention-Aware Intelligent DRAM Refresh
Liu, J., Jaiyen, B., Veras, R., & Mutlu, O. (2012) · ACM SIGARCH Computer Architecture News · doi:10.1145/2366231.2337161 · Cited by 444
PIM-enabled instructions: a low-overhead, locality-aware processing-in-memory architecture
Ahn, J., Yoo, S., Mutlu, O., & Choi, K. (2015) · Proceedings of the 42nd Annual International Symposium on Computer Architecture · doi:10.1145/2749469.2750385 · Cited by 436
ATLAS: A scalable and high-performance scheduling algorithm for multiple memory controllers
Kim, Y., Han, D., Mutlu, O., & Harchol-Balter, M. (2010) · HPCA - 16 2010 The Sixteenth International Symposium on High-Performance Computer Architecture · doi:10.1109/hpca.2010.5416658 · Cited by 430
LIFT: A Low-Overhead Practical Information Flow Tracking System for Detecting Security Attacks
Qin, F., Wang, C., Li, Z., Kim, H.-S., Zhou, Y., & Wu, Y. (2006) · 2006 39th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO'06) · doi:10.1109/micro.2006.29 · Cited by 422
Flikker: saving DRAM refresh-power through critical data partitioning
Liu, S., Pattabiraman, K., Moscibroda, T., & Zorn, B. G. (2011) · Proceedings of the sixteenth international conference on Architectural support for programming languages and operating systems · doi:10.1145/1950365.1950391 · Cited by 412
Thread Cluster Memory Scheduling: Exploiting Differences in Memory Access Behavior
Kim, Y., Papamichael, M., Mutlu, O., & Harchol-Balter, M. (2010) · 2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1109/micro.2010.51 · Cited by 408
TaintScope: A Checksum-Aware Directed Fuzzing Tool for Automatic Software Vulnerability Detection
Wang, T., Wei, T., Gu, G., & Zou, W. (2010) · 2010 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2010.37 · Cited by 380
CollAFL: Path Sensitive Fuzzing
Gan, S., Zhang, C., Qin, X., Tu, X., Li, K., Pei, Z., & Chen, Z. (2018) · 2018 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2018.00040 · Cited by 370
Firmalice - Automatic Detection of Authentication Bypass Vulnerabilities in Binary Firmware
Shoshitaishvili, Y., Wang, R., Hauser, C., Kruegel, C., & Vigna, G. (2015) · Proceedings 2015 Network and Distributed System Security Symposium · doi:10.14722/ndss.2015.23294 · Cited by 362
CTrigger: exposing atomicity violation bugs from their hiding places
Park, S., Lu, S., & Zhou, Y. (2009) · Proceedings of the 14th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1508244.1508249 · Cited by 339
DMP: deterministic shared memory multiprocessing
Devietti, J., Lucia, B., Ceze, L., & Oskin, M. (2009) · Proceedings of the 14th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1508244.1508255 · Cited by 328
SoK: Automated Software Diversity
Larsen, P., Homescu, A., Brunthaler, S., & Franz, M. (2014) · 2014 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2014.25 · Cited by 321
PRES: probabilistic replay with execution sketching on multiprocessors
Park, S., Zhou, Y., Xiong, W., Yin, Z., Kaushik, R., Lee, K. H., & Lu, S. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629593 · Cited by 303
A characterization of the Rodinia benchmark suite with comparison to contemporary CMP workloads
Che, S., Sheaffer, J. W., Boyer, M., Szafaryn, L. G., Wang, L., & Skadron, K. (2010) · IEEE International Symposium on Workload Characterization (IISWC'10) · doi:10.1109/iiswc.2010.5650274 · Cited by 302
BugNet: Continuously Recording Program Execution for Deterministic Replay Debugging
Narayanasamy, S., Pokam, G., & Calder, B. (2005) · ACM SIGARCH Computer Architecture News · doi:10.1145/1080695.1069994 · Cited by 278
Li, J., Zhao, B., & Zhang, C. (2018) · Cybersecurity · doi:10.1186/s42400-018-0002-y · Cited by 278
Jalangi: a selective record-replay and dynamic analysis framework for JavaScript
Sen, K., Kalasapur, S., Brutch, T., & Gibbs, S. (2013) · Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2491411.2491447 · Cited by 270
Tiered-latency DRAM: A low latency and low cost DRAM architecture
Lee, D., Kim, Y., Seshadri, V., Liu, J., Subramanian, L., & Mutlu, O. (2013) · 2013 IEEE 19th International Symposium on High Performance Computer Architecture (HPCA) · doi:10.1109/hpca.2013.6522354 · Cited by 263
A case for exploiting subarray-level parallelism (SALP) in DRAM
Kim, Y., Seshadri, V., Lee, D., Liu, J., & Mutlu, O. (2012) · ACM SIGARCH Computer Architecture News · doi:10.1145/2366231.2337202 · Cited by 259
Hiser, J., Nguyen-Tuong, A., Co, M., Hall, M., & Davidson, J. W. (2012) · 2012 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2012.39 · Cited by 256
Grace: safe multithreaded programming for C/C++
Berger, E. D., Yang, T., Liu, T., & Novark, G. (2009) · ACM SIGPLAN Notices · doi:10.1145/1639949.1640096 · Cited by 241
Seong, N. H., Woo, D. H., & Lee, H.-H. S. (2010) · Proceedings of the 37th annual international symposium on Computer architecture · doi:10.1145/1815961.1816014 · Cited by 238
Low-Cost Inter-Linked Subarrays (LISA): Enabling fast inter-subarray data movement in DRAM
Chang, K. K., Nair, P. J., Lee, D., Ghose, S., Qureshi, M. K., & Mutlu, O. (2016) · 2016 IEEE International Symposium on High Performance Computer Architecture (HPCA) · doi:10.1109/hpca.2016.7446095 · Cited by 220
What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
Muench, M., Stijohann, J., Kargl, F., Francillon, A., & Balzarotti, D. (2018) · Proceedings 2018 Network and Distributed System Security Symposium · doi:10.14722/ndss.2018.23166 · Cited by 219
Architectural Implications of Function-as-a-Service Computing
Shahrad, M., Balkind, J., & Wentzlaff, D. (2019) · Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1145/3352460.3358296 · Cited by 209
Li, S., Ahn, J. H., Strong, R. D., Brockman, J. B., Tullsen, D. M., & Jouppi, N. P. (2013) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/2445572.2445577 · Cited by 205
The Cilk++ concurrency platform
Leiserson, C. E. (2010) · The Journal of Supercomputing · doi:10.1007/s11227-010-0405-3 · Cited by 199
COTSon: infrastructure for full system simulation
Argollo, E., Falcón, A., Faraboschi, P., Monchiero, M., & Ortega, D. (2009) · ACM SIGOPS Operating Systems Review · doi:10.1145/1496909.1496921 · Cited by 198
Mapping parallelism to multi-cores: a machine learning based approach
Wang, Z., & O'Boyle, M. F. P. (2009) · Proceedings of the 14th ACM SIGPLAN symposium on Principles and practice of parallel programming · doi:10.1145/1504176.1504189 · Cited by 186
X-ray: automating root-cause diagnosis of performance anomalies in production software
Attariyan, M., Chow, M., & Flinn, J. (2012) · doi:10.5555/2387880.2387910 · Cited by 184
Quantifying the Accuracy of High-Level Fault Injection Techniques for Hardware Faults
Wei, J., Thomas, A., Li, G., & Pattabiraman, K. (2014) · 2014 44th Annual IEEE/IFIP International Conference on Dependable Systems and Networks · doi:10.1109/dsn.2014.2 · Cited by 182
SoK: The Challenges, Pitfalls, and Perils of Using Hardware Performance Counters for Security
Das, S., Werner, J., Antonakakis, M., Polychronakis, M., & Monrose, F. (2019) · 2019 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2019.00021 · Cited by 179
The Cilk++ concurrency platform
Leiserson, C. E. (2009) · Proceedings of the 46th Annual Design Automation Conference · doi:10.1145/1629911.1630048 · Cited by 178
Q: Exploit Hardening Made Easy
Schwartz, E. J., Avgerinos, T., & Brumley, D. (2018) · doi:10.1184/r1/6469187 · Cited by 178
Magma: A Ground-Truth Fuzzing Benchmark
Hazimeh, A., Herrera, A., & Payer, M. (2020) · Proceedings of the ACM on Measurement and Analysis of Computing Systems · doi:10.1145/3428334 · Cited by 177
SLEUTH: Real-time Attack Scenario Reconstruction from COTS Audit Data
Hossain, M. N., Milajerdi, S. M., Wang, J., Eshete, B., Gjomemo, R., Sekar, R., Stoller, S., & Venkatakrishnan, V. (2018) · arXiv · doi:10.48550/arxiv.1801.02062 · Cited by 176
NVBit: A Dynamic Binary Instrumentation Framework for NVIDIA GPUs
Villa, O., Stephenson, M., Nellans, D., & Keckler, S. W. (2019) · Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitecture · doi:10.1145/3352460.3358307 · Cited by 168
Chang, K. K., Kashyap, A., Hassan, H., Ghose, S., Hsieh, K., Lee, D., Li, T., Pekhimenko, G., Khan, S., & Mutlu, O. (2016) · Proceedings of the 2016 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Science · doi:10.1145/2896377.2901453 · Cited by 158
No Need to Hide: Protecting Safe Regions on Commodity Hardware
Koning, K., Chen, X., Bos, H., Giuffrida, C., & Athanasopoulos, E. (2017) · Proceedings of the Twelfth European Conference on Computer Systems · doi:10.1145/3064176.3064217 · Cited by 116
Microwalk: A framework for finding side channels in binaries
Wichelmann, J., Moghimi, A., Eisenbarth, T., & Sunar, B. (2018) · Proceedings of the 34th Annual Computer Security Applications Conference · doi:10.1145/3274694.3274741 · Cited by 74
Metadata
- Authors
- Luk, C.-K., Cohn, R., Muth, R., Patil, H., Klauser, A., Lowney, G., Wallace, S., Reddi, V. J., & Hazelwood, K.
- Venue
- ACM SIGPLAN Notices
- Published
- 2005-06-12
- Volume
- 40
- Issue
- 6
- Pages
- 190-200
- ISSN
- 0362-1340 (ISSN-L)
- 1558-1160
- OpenAlex
- W2134633067
- Cited by
- 3,180
- References
- 10
- FWCI
- 142.28
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.