TRIMMER: Context-Specific Code Reduction

被引:1
|
作者
Ahmad, Aatira Anum [1 ]
Anwar, Mubashir [2 ]
Sharif, Hashim [2 ]
Gehani, Ashish [3 ]
Zaffar, Fareed [1 ]
机构
[1] LUMS, Lahore, Pakistan
[2] Univ Illinois, Champaign, IL USA
[3] SRI Int, Menlo Pk, CA USA
基金
美国国家科学基金会;
关键词
Static analysis; Code debloating; Program specialization; LLVM;
D O I
10.1145/3551349.3559529
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present Trimmer, a state-of-the-art tool for reducing code size. Trimmer reduces code sizes by specializing programs with respect to constant inputs provided by developers. The static data can be provided as command-line options or through configuration files. The constants define the features that must be retained, which in turn determine the features that are unused in a specific deployment (and can therefore be removed). Trimmer includes sophisticated compiler transformations for input specialization, supports precise yet efficient context-sensitive inter-procedural constant propagation, and introduces a custom loop unroller. Trimmer is easy-touse and extensively parameterized. We discuss how Trimmer can be configured by developers to explicitly trade analysis precision and specialization time. We also provide a high-level description of Trimmer's static analysis passes. The source code is publicly available at: https://github.com/ashish-gehani/Trimmer. A video demonstration can be found here: https://youtu.be/6pAuJ68INnI.
引用
收藏
页数:5
相关论文
共 50 条
  • [41] Context-specific Polycomb mechanisms in development
    Kim, Jongmin J.
    Kingston, Robert E.
    [J]. NATURE REVIEWS GENETICS, 2022, 23 (11) : 680 - 695
  • [42] Context-Specific Protein Network Miner - An Online System for Exploring Context-Specific Protein Interaction Networks from the Literature
    Chowdhary, Rajesh
    Tan, Sin Lam
    Zhang, Jinfeng
    Karnik, Shreyas
    Bajic, Vladimir B.
    Liu, Jun S.
    [J]. PLOS ONE, 2012, 7 (04):
  • [43] Context-specific and context-invariant computations of interval timing
    Pourmohammadi, Ahmad
    Sanayei, Mehdi
    [J]. FRONTIERS IN NEUROSCIENCE, 2023, 17
  • [44] The context-specific role of germline pathogenicity in tumorigenesis
    Srinivasan, Preethi
    Bandlamudi, Chaitanya
    Jonsson, Philip
    Kemel, Yelena
    Chavan, Shweta S.
    Richards, Allison L.
    Penson, Alexander, V
    Bielski, Craig M.
    Fong, Christopher
    Syed, Aijazuddin
    Jayakumaran, Gowtham
    Prasad, Meera
    Hwee, Jason
    Sumer, Selcuk Onur
    de Bruijn, Ino
    Li, Xiang
    Gao, JianJiong
    Schultz, Nikolaus
    Cambria, Roy
    Galle, Jesse
    Mukherjee, Semanti
    Vijai, Joseph
    Cadoo, Karen A.
    Carlo, Maria, I
    Walsh, Michael F.
    Mandelker, Diana
    Ceyhan-Birsoy, Ozge
    Shia, Jinru
    Zehir, Ahmet
    Ladanyi, Marc
    Hyman, David M.
    Zhang, Liying
    Offit, Kenneth
    Robson, Mark E.
    Solit, David B.
    Stadler, Zsofia K.
    Berger, Michael F.
    Taylor, Barry S.
    [J]. NATURE GENETICS, 2021, 53 (11) : 1577 - +
  • [45] Context-Specific Regulation of VEGF Receptor Signaling
    Mac Gabhann, Feilim
    Clegg, Lindsay
    [J]. FASEB JOURNAL, 2015, 29
  • [46] Conscious and unconscious context-specific cognitive control
    Schouppe, Nathalie
    de Ferrerre, Evelien
    Van Opstal, Filip
    Braem, Senne
    Notebaert, Wim
    [J]. FRONTIERS IN PSYCHOLOGY, 2014, 5
  • [47] Context-specific tool use by Sus cebifrons
    Root-Bernstein, Meredith
    Narayan, Trupthi
    Cornier, Lucile
    Bourgeois, Aude
    [J]. MAMMALIAN BIOLOGY, 2019, 98 (1) : 102 - 110
  • [48] Acquisition and extinction of context-specific morphine withdrawal
    DeffnerRappold, C
    Azorlosa, JL
    Baker, JD
    [J]. PSYCHOBIOLOGY, 1996, 24 (03) : 219 - 226
  • [49] Context-specific learning, personality, and birth order
    Harris, JR
    [J]. CURRENT DIRECTIONS IN PSYCHOLOGICAL SCIENCE, 2000, 9 (05) : 174 - 177
  • [50] On the role of context-specific independence in probabilistic inference
    Zhang, NL
    Poole, D
    [J]. IJCAI-99: PROCEEDINGS OF THE SIXTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 & 2, 1999, : 1288 - 1293