mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Merge remote-tracking branch 'origin/GP-4102_PiecePathologyLoop' into
Ghidra_11.0 (Closes #5934)
This commit is contained in:
commit
867ab256b0
1 changed files with 4 additions and 2 deletions
|
@ -5629,9 +5629,11 @@ bool FuncCallSpecs::setInputBytesConsumed(int4 slot,int4 val) const
|
|||
while(inputConsume.size() <= slot)
|
||||
inputConsume.push_back(0);
|
||||
int4 oldVal = inputConsume[slot];
|
||||
if (oldVal == 0 || val < oldVal)
|
||||
if (oldVal == 0 || val < oldVal) { // Only let the value get smaller
|
||||
inputConsume[slot] = val;
|
||||
return (oldVal != val);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/// \brief Prepend any extra parameters if a paramshift is required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue