Run "AStyleWhore"
This commit is contained in:
parent
5162450ff3
commit
836a544287
|
@ -25,8 +25,8 @@ duint WatchExpr::getIntValue()
|
|||
{
|
||||
duint origVal = currValue;
|
||||
if(varType == WATCHVARTYPE::TYPE_UINT || varType == WATCHVARTYPE::TYPE_INT ||
|
||||
varType == WATCHVARTYPE::TYPE_FLOAT ||
|
||||
varType == WATCHVARTYPE::TYPE_ASCII || varType == WATCHVARTYPE::TYPE_UNICODE)
|
||||
varType == WATCHVARTYPE::TYPE_FLOAT ||
|
||||
varType == WATCHVARTYPE::TYPE_ASCII || varType == WATCHVARTYPE::TYPE_UNICODE)
|
||||
{
|
||||
duint val;
|
||||
bool ok = expr.Calculate(val, varType == WATCHVARTYPE::TYPE_INT, false);
|
||||
|
|
|
@ -257,7 +257,7 @@ void CPUInfoBox::disasmSelectionChanged(dsint parVA)
|
|||
|
||||
std::sort(data.begin(), data.end(), [](const XREF_RECORD * A, const XREF_RECORD * B)
|
||||
{
|
||||
if (A->type != B->type)
|
||||
if(A->type != B->type)
|
||||
return (A->type < B->type);
|
||||
|
||||
return (A->addr < B->addr);
|
||||
|
|
|
@ -1672,10 +1672,10 @@ static QString composeRegTextXMM(const char* value, RegistersView::SIMD_REG_DISP
|
|||
const float* flt_values = reinterpret_cast<const float*>(value);
|
||||
if(bFpuRegistersLittleEndian)
|
||||
valueText = ToFloatString(&flt_values[0]) + ' ' + ToFloatString(&flt_values[1]) + ' '
|
||||
+ ToFloatString(&flt_values[2]) + ' ' + ToFloatString(&flt_values[3]);
|
||||
+ ToFloatString(&flt_values[2]) + ' ' + ToFloatString(&flt_values[3]);
|
||||
else // Big Endian
|
||||
valueText = ToFloatString(&flt_values[3]) + ' ' + ToFloatString(&flt_values[2]) + ' '
|
||||
+ ToFloatString(&flt_values[1]) + ' ' + ToFloatString(&flt_values[0]);
|
||||
+ ToFloatString(&flt_values[1]) + ' ' + ToFloatString(&flt_values[0]);
|
||||
}
|
||||
break;
|
||||
case RegistersView::SIMD_REG_DISP_WORD_HEX:
|
||||
|
|
|
@ -58,7 +58,7 @@ void XrefBrowseDialog::setup(duint address, QString command)
|
|||
|
||||
std::sort(data.begin(), data.end(), [](const XREF_RECORD A, const XREF_RECORD B)
|
||||
{
|
||||
if (A.type != B.type)
|
||||
if(A.type != B.type)
|
||||
return (A.type < B.type);
|
||||
|
||||
return (A.addr < B.addr);
|
||||
|
|
|
@ -111,15 +111,15 @@ void ZehSymbolTable::sortRows(int column, bool ascending)
|
|||
else
|
||||
return ascending ? ainfo->ordinal < binfo->ordinal : ainfo->ordinal > binfo->ordinal;
|
||||
case ColDecorated:
|
||||
{
|
||||
int result = strcmp(ainfo->decoratedSymbol, binfo->decoratedSymbol);
|
||||
return ascending ? result < 0 : result > 0;
|
||||
}
|
||||
{
|
||||
int result = strcmp(ainfo->decoratedSymbol, binfo->decoratedSymbol);
|
||||
return ascending ? result < 0 : result > 0;
|
||||
}
|
||||
case ColUndecorated:
|
||||
{
|
||||
int result = strcmp(ainfo->undecoratedSymbol, binfo->undecoratedSymbol);
|
||||
return ascending ? result < 0 : result > 0;
|
||||
}
|
||||
{
|
||||
int result = strcmp(ainfo->undecoratedSymbol, binfo->undecoratedSymbol);
|
||||
return ascending ? result < 0 : result > 0;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -873,7 +873,7 @@ void Zydis::RegInfo(uint8_t regs[ZYDIS_REGISTER_MAX_VALUE + 1]) const
|
|||
{
|
||||
case ZYDIS_OPERAND_TYPE_REGISTER:
|
||||
{
|
||||
switch (op.action)
|
||||
switch(op.action)
|
||||
{
|
||||
case ZYDIS_OPERAND_ACTION_READ:
|
||||
case ZYDIS_OPERAND_ACTION_CONDREAD:
|
||||
|
|
Loading…
Reference in New Issue