mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +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)
|
while(inputConsume.size() <= slot)
|
||||||
inputConsume.push_back(0);
|
inputConsume.push_back(0);
|
||||||
int4 oldVal = inputConsume[slot];
|
int4 oldVal = inputConsume[slot];
|
||||||
if (oldVal == 0 || val < oldVal)
|
if (oldVal == 0 || val < oldVal) { // Only let the value get smaller
|
||||||
inputConsume[slot] = val;
|
inputConsume[slot] = val;
|
||||||
return (oldVal != val);
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Prepend any extra parameters if a paramshift is required
|
/// \brief Prepend any extra parameters if a paramshift is required
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue