mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
UEFIFind 0.1.1
-solved a typo in GUID output
This commit is contained in:
parent
4988ea8a9f
commit
a7a038c54d
@ -86,7 +86,7 @@ UINT8 UEFIFind::find(const UINT8 mode, const bool count, const QString & hexPatt
|
|||||||
UINT8 u8_7 = *(UINT8*)(data.constData() + 14);
|
UINT8 u8_7 = *(UINT8*)(data.constData() + 14);
|
||||||
UINT8 u8_8 = *(UINT8*)(data.constData() + 15);
|
UINT8 u8_8 = *(UINT8*)(data.constData() + 15);
|
||||||
|
|
||||||
QString guid = QString("%1-%2-%3-%4%5%6%7%8%9%10%11\n").hexarg(u32, 8).hexarg(u16_1, 4).hexarg(u16_2, 4).hexarg(u8_1, 2).hexarg(u8_2, 2)
|
QString guid = QString("%1-%2-%3-%4%5-%6%7%8%9%10%11\n").hexarg(u32, 8).hexarg(u16_1, 4).hexarg(u16_2, 4).hexarg(u8_1, 2).hexarg(u8_2, 2)
|
||||||
.hexarg(u8_3, 2).hexarg(u8_4, 2).hexarg(u8_5, 2).hexarg(u8_6, 2).hexarg(u8_7, 2).hexarg(u8_8, 2);
|
.hexarg(u8_3, 2).hexarg(u8_4, 2).hexarg(u8_5, 2).hexarg(u8_6, 2).hexarg(u8_7, 2).hexarg(u8_8, 2);
|
||||||
|
|
||||||
result.append(guid);
|
result.append(guid);
|
||||||
|
@ -64,7 +64,7 @@ int main(int argc, char *argv[])
|
|||||||
return ERR_SUCCESS;
|
return ERR_SUCCESS;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
std::cout << "UEFIFind 0.1.0" << std::endl << std::endl <<
|
std::cout << "UEFIFind 0.1.1" << std::endl << std::endl <<
|
||||||
"Usage: uefifind {header | body | all} {list | count} pattern imagefile\n";
|
"Usage: uefifind {header | body | all} {list | count} pattern imagefile\n";
|
||||||
return ERR_INVALID_PARAMETER;
|
return ERR_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user