Patch engine: add bd32, bd64 and utf8 patch types

bd32 is the same as be32 with a hint it's not executable.
utf8 is NOT null-terminated string, null can be added manually.
This commit is contained in:
Nekotekina 2021-02-12 15:02:31 +03:00
parent 00be247913
commit 629d608d4f
2 changed files with 25 additions and 0 deletions

View file

@ -34,9 +34,12 @@ enum class patch_type
lef64,
be16,
be32,
bd32, // be32 with data hint (non-code)
be64,
bd64, // be64 with data hint (non-code)
bef32,
bef64,
utf8, // Text of string (not null-terminated automatically)
};
class patch_engine