作者
Richárd Szalay, Abel Sinkovics, Zoltán Porkoláb
发表日期
2020/9/1
研讨会论文
2020 IEEE 20th International Working Conference on Source Code Analysis and Manipulation (SCAM)
页码范围
203-214
出版商
IEEE
简介
Argument selection defects, in which the programmer has chosen the wrong argument to a function call is a widely investigated problem. The compiler can detect such misuse of arguments based on the argument and parameter type in case of statically typed programming languages. When adjacent parameters have the same type, or they can be converted between one another, the potential error will not be diagnosed. Related research is usually confined to exact type equivalence, often ignoring potential implicit or explicit conversions. However, in current mainstream languages, like C++, built-in conversions between numerics and user-defined conversions may significantly increase the number of mistakes to go unnoticed. We investigated the situation for C and C++ languages where functions are defined with multiple adjacent parameters that allow arguments to pass in the wrong order. When implicit …
引用总数
学术搜索中的文章
R Szalay, A Sinkovics, Z Porkoláb - 2020 IEEE 20th International Working Conference on …, 2020