proc: add flag to distinguish ReturnValues (#2230)

Adds a flag that distinguishes the return values of an injected
function call from the return values of a function call executed by the
target program.
This commit is contained in:
Alessandro Arzilli
2020-12-10 17:57:50 +01:00
committed by GitHub
parent f7542d69fe
commit 807664b34b
6 changed files with 7 additions and 1 deletions

View File

@ -128,6 +128,8 @@ type Thread struct {
// ReturnValues contains the return values of the function we just stepped out of
ReturnValues []Variable
// CallReturn is true if ReturnValues are the return values of an injected call.
CallReturn bool
}
// Location holds program location information.