feat: Added non-ranged and aligned search to sequence and value finder

This commit is contained in:
WerWolv
2023-04-08 20:59:33 +02:00
parent f562260e42
commit 78e66f8959
3 changed files with 109 additions and 74 deletions

View File

@@ -75,11 +75,14 @@ namespace hex::plugin::builtin {
struct BinaryPattern {
std::string input;
std::vector<ViewFind::BinaryPattern> pattern;
bool aligned = false;
} binaryPattern;
struct Value {
std::string inputMin, inputMax;
std::endian endian = std::endian::native;
bool aligned = false;
bool range = false;
enum class Type {
U8 = 0, U16 = 1, U32 = 2, U64 = 3,