Skip to content
Snippets Groups Projects
  1. Mar 11, 2019
    • Anh Nguyen-Tuong's avatar
      9f087716
    • Anh Nguyen-Tuong's avatar
      Revamp laf transformation · a8bcce68
      Anh Nguyen-Tuong authored
      Instead of the original laf-intel style instrumentation with nested 1
      byte compare, we instead instrument each byte separately to provide afl
      with hints. We then execute the original cmp/jcc sequence.
      
      Advantages of this method are that we do not have to handle
      signed/unsigned comparisons of bytes, nor do we have to deal with having
      separate code to handle >=, <=.
      
      Furthermore, we can easily guide AFL towards inducing division by zero,
      by doing a compare against 0, i.e., logically add "cmp X, 0" before a "div X" instruction.
      a8bcce68
  2. Mar 09, 2019
  3. Mar 08, 2019
Loading