Imagine a situation where MemoryUtils::ResolveSymbol for some reason fails.
(not yet supported engine for example ( ͡° ͜ʖ ͡°))
Then the signature gets parsed as a HEX value. The way the MemoryUtils::DecodeHexString (called by MemoryUtils::DecodeAndFindPattern) works is that it takes any symbols, checks if it's backslash and tries to parse it, otherwise it just silently puts into the buffer.
The problem of this is that the MemoryUtils::FindPattern will look for any pattern match, despite it's not a pattern but a symbol name in an ASCII. This might lead to unwanted consequences, and to me, it's better fail here than crash.
Imagine a situation where
MemoryUtils::ResolveSymbol
for some reason fails. (not yet supported engine for example ( ͡° ͜ʖ ͡°))Then the signature gets parsed as a HEX value. The way the
MemoryUtils::DecodeHexString
(called byMemoryUtils::DecodeAndFindPattern
) works is that it takes any symbols, checks if it's backslash and tries to parse it, otherwise it just silently puts into the buffer.The problem of this is that the
MemoryUtils::FindPattern
will look for any pattern match, despite it's not a pattern but a symbol name in an ASCII. This might lead to unwanted consequences, and to me, it's better fail here than crash.