Skip to content

Instantly share code, notes, and snippets.

View dump_yara.c
#include "libyara/include/yara.h"
int main()
YR_RULES* rules;
YR_RULE* rule;
YR_STRING* string;
YR_META* meta;
const char* tag;
int result;
0xbc /
Created Sep 7, 2017
Changing the display type of integer operands in BinaryNinja
# assuming f is a Function
insts = [ inst for inst in f.low_level_il.basic_blocks[0] if inst.address >= 0x1013a0b and inst.address <= 0x1013c42 ]
for inst in insts:
f.set_int_display_type(inst.address, value=inst.src.value.value, operand=1,
View gist:de98c93a101f617a77242f8d72448157
### Keybase proof
I hereby claim:
* I am 0xbc on github.
* I am 0xbc ( on keybase.
* I have a public key whose fingerprint is E597 47EF CF42 C7A8 2097 C524 FC17 17CD 6275 46BB
To claim this, I am signing this object: