deepstate icon indicating copy to clipboard operation
deepstate copied to clipboard

Dictionaries of constants

Open pgoodman opened this issue 6 years ago • 0 comments

Add in something like:

#define TRY_REGISTER_CONST(x) \
  if (__builtin_constant_p(x)) { \
    asm(".pushsection .data.consts; .quad %0; .popsection;" : : "I"(x));
  }

Then use TRY_REIGSTER_CONST in things like CHECK_EQ(a, b), and then find a way to load in the constants to libFuzzer/AFL for their dictionaries.

pgoodman avatar Dec 19 '18 18:12 pgoodman