Towards More Sophisticated Static Analysis Methods of Python']Python Programs

被引:0
|
作者
Gulabovska, Hristina [1 ]
Porkolab, Zoltan [1 ]
机构
[1] Eotvos Lorand Univ, Dept Programming Languages & Compilers, Budapest, Hungary
来源
2019 IEEE 15TH INTERNATIONAL SCIENTIFIC CONFERENCE ON INFORMATICS (INFORMATICS 2019) | 2019年
关键词
static analysis; symbolic execution; !text type='Python']Python[!/text;
D O I
10.1109/informatics47936.2019.9119307
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Static analysis is a software verification method which is analyzing the source code without executing it for detecting code smells and possible software bugs. Various analysis methods have been successfully applied for languages with static type system, such as C, C++ and Java. Python is an important programming language with dynamic type system, used in many emerging areas, including data science, machine learning and web applications. The dynamic behavior of the Python language requires different static analysis approaches compared to the ones with static type system. In this paper we overview these methods and investigate their advantages and shortages. We compare the symbolic execution with the generally used Abstract Syntax Tree based approach and show its advantages based on concrete examples. We also highlight the restrictions of current tools and suggest further research directions to tackle these problems.
引用
收藏
页码:225 / 230
页数:6
相关论文
共 50 条
  • [1] Evaluation of Static Analysis Methods of Python']Python Programs
    Gulabovska, Hristina
    Porkolab, Zoltan
    IPSI BGD TRANSACTIONS ON INTERNET RESEARCH, 2020, 16 (02): : 39 - 46
  • [2] A Multilanguage Static Analysis of Python']Python Programs with Native C Extensions
    Monat, Raphael
    Ouadjaout, Abdelraouf
    Mine, Antoine
    STATIC ANALYSIS, SAS 2021, 2021, 12913 : 323 - 345
  • [3] Static Analysis of Corpus of Source Codes of Python']Python Applications
    Kapustin, D. A.
    Shvyrov, V. V.
    Shulika, T. I.
    PROGRAMMING AND COMPUTER SOFTWARE, 2023, 49 (04) : 302 - 309
  • [4] Static Type Recommendation for Python']Python
    Sun, Ke
    Zhao, Yifan
    Hao, Dan
    Zhang, Lu
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [5] A Static Analysis Approach for Detecting Array Shape Errors in Python']Python
    Zhuang, Yungyu
    Kao, Chien-Wen
    Yen, Wei-hsin
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2025, 41 (01) : 97 - 119
  • [6] Evaluating Python']Python Static Code Analysis Tools Using FAIR Principles
    Hassan, Hassan Bapeer
    Sarhan, Qusay Idrees
    Beszedes, Arpad
    IEEE ACCESS, 2024, 12 : 173647 - 173659
  • [7] Static Type Inference for Foreign Functions of Python']Python
    Hu, Mingzhe
    Zhang, Yu
    Huang, Wenchao
    Xiong, Yan
    2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, : 423 - 433
  • [8] Finding Reference-Counting Errors in Python']Python/C Programs with Affine Analysis
    Li, Siliang
    Tan, Gang
    ECOOP 2014 - OBJECT-ORIENTED PROGRAMMING, 2014, 8586 : 80 - 104
  • [9] Static Slicing for Python']Python First-Class Objects
    Xu, Zhaogui
    Qian, Ju
    Chen, Lin
    Chen, Zhifei
    Xu, Baowen
    2013 13TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2013, : 117 - 124
  • [10] A Large-Scale Security-Oriented Static Analysis of Python']Python Packages in PyPI
    Ruohonen, Jukka
    Hjerppe, Kalle
    Rindell, Kalle
    2021 18TH INTERNATIONAL CONFERENCE ON PRIVACY, SECURITY AND TRUST (PST), 2021,