Branch: refs/heads/fix_uninit_var
Home: https://github.com/dyninst/dyninst
Commit: 1224410f6d200bd1efca616be4344ddb7597cee7
https://github.com/dyninst/dyninst/commit/1224410f6d200bd1efca616be4344ddb7597cee7
Author: Tim Haines <thaines.astro@xxxxxxxxx>
Date: 2023-05-10 (Wed, 10 May 2023)
Changed paths:
M dyninstAPI_RT/src/RTfreebsd.c
M proccontrol/src/process.C
M symtabAPI/src/Object-elf.C
Log Message:
-----------
Prevent use of possibly-uninitialized local variable
These were found using cppcheck's uninitvar and eraseDereference.
For the usages of iterator-like classes in process.C, they aren't strictly
uninitialized variable usages since the classes in question are standard
layout types. It would be better to replace the usages there with list
construction to avoid the static check altogether.
|