1
0
mirror of synced 2025-01-18 17:14:13 +01:00

patterns: Respect endianess when accessing rvalues

This commit is contained in:
WerWolv 2021-09-25 22:46:16 +02:00
parent 9b4cf917d9
commit b323d711cf

View File

@ -1286,6 +1286,8 @@ namespace hex::pl {
}
else
evaluator->getProvider()->read(pattern->getOffset(), &value, pattern->getSize());
value = hex::changeEndianess(value, pattern->getSize(), pattern->getEndian());
};
Token::Literal literal;