Searchable template results (variable name & variable value)

Hello, first off, amazing software and great job on the new release!

I’ve been reversing a binary file and using templates to do so, however I find myself wanting additional search functionality when searching through binary templates.

Let’s say my template is:

enum <uint32> FooBarEnum {
    FooBarA = 0,
    FooBarB = 1,
    FooBarC = 2,
    // 3, 4, 5, 6 and so on might exist as well, but haven't been reversed yet, 
};

typedef struct {
  int32 id;
  FooBarEnum foo_bar;
}

typedef struct {
  int32 count;
  Foo bar[count] <optimize=false>
}

It would be great if we could leverage the search function to specify both which template field to search as well as a value (basically a combination of the find options in the image below), i.e search variable name “foo_bar” for value “3”, to instantly jump to the template result with enum value = 3,

image

If this is already possible then I’d love to know how, would greatly appreciate it :slight_smile:

Hello bondenn. Unfortunately there is no easy way to do a search like this right now, but that would be a great feature to have. We’ll see if we can add that to our next release.

Graeme Sweet
SweetScape Software