patterns: Respect endianess when accessing rvalues
This commit is contained in:
parent
9b4cf917d9
commit
b323d711cf
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user