[HTML][HTML] Practical heuristics to improve precision for erroneous function argument swapping detection in C and C++

R Szalay, A Sinkovics, Z Porkoláb - Journal of Systems and Software, 2021 - Elsevier
Argument selection defects, in which the programmer chooses the wrong argument to pass
to a parameter from a potential set of arguments in a function call, is a widely investigated …

The role of implicit conversions in erroneous function argument swapping in C++

R Szalay, A Sinkovics… - 2020 IEEE 20th …, 2020 - ieeexplore.ieee.org
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 …

Detecting anomalies in the order of equally-typed method arguments

M Pradel, TR Gross - Proceedings of the 2011 International Symposium …, 2011 - dl.acm.org
In statically-typed programming languages, the compiler ensures that method arguments are
passed in the expected order by checking the type of each argument. However, calls to …

Name-based analysis of equally typed method arguments

M Pradel, TR Gross - IEEE Transactions on Software …, 2013 - ieeexplore.ieee.org
When calling a method that requires multiple arguments, programmers must pass the
arguments in the expected order. For statically typed languages, the compiler helps …

Out of sight, out of place: Detecting and assessing swapped arguments

R Scott, J Ranieri, L Kot… - 2020 IEEE 20th …, 2020 - ieeexplore.ieee.org
Programmers often add meaningful information about program semantics when naming
program entities such as variables, functions, and macros. However, static analysis tools …

Static detection of brittle parameter typing

M Pradel, S Heiniger, TR Gross - Proceedings of the 2012 International …, 2012 - dl.acm.org
To avoid receiving incorrect arguments, a method specifies the expected type of each formal
parameter. However, some parameter types are too general and have subtypes that the …

Tcd: Statically detecting type confusion errors in c++ programs

C Zou, Y Sui, H Yan, J Xue - 2019 IEEE 30th International …, 2019 - ieeexplore.ieee.org
For performance reasons, C++, albeit unsafe, is often the programming language of choice
for developing software infrastructures. A serious type of security vulnerability in C++ …

[PDF][PDF] Accelerating type confusion detection with pointer analysis

X Fan, Z Xia, S Long, C Huang, C Yang - IAENG International Journal of …, 2020 - iaeng.org
C++ is widely used in performance critical applications. Due to the lack of type safety,
programs written in C++ are vulnerable to memory corruption errors. Type confusion bug is …

Dynamic witnesses for static type errors (or, ill-typed programs usually go wrong)

EL Seidel, R Jhala, W Weimer - Proceedings of the 21st ACM SIGPLAN …, 2016 - dl.acm.org
Static type errors are a common stumbling block for newcomers to typed functional
languages. We present a dynamic approach to explaining type errors by generating …

[PDF][PDF] Peqtest: Testing functional equivalence

MC Jakobs, M Wiesner - International Conference on …, 2022 - library.oapen.org
Refactoring a program without changing the program's functional behavior is challenging.
To prevent that behavioral changes remain undetected, one may apply approaches that …