Skip to content

v1.1.3

Choose a tag to compare

@Chris1sFlaggin Chris1sFlaggin released this 18 Mar 15:56
· 115 commits to main since this release

v1.1.3 - smartest print


Main fixes

  • Fix JOP/Jump-Based classification

    • What: Unconditional jumps not properly recognized across architectures
    • How: mnem in self.profile["unconditional_jumps"] and mnem not in self.profile["ret_mnems"]
  • Fix CONDITIONAL branch recognition

    • What: Conditional branches were missed, breaking exploration and tagging
    • How: mnem.startswith(self.profile["branch_prefixes"])

Side fixes

  • Fix bug Actual Count vs Limit

    • What: print bug --- TOP X GADGETS ---
    • How: actual_count = min(limit, len(sorted_gadgets))
  • Fix no header if no gadgets

    • What: unuseful print if no JOP found
    • How: if actual_count == 0: continue
  • Fix Max Instructions pruning (Off-by-one error)

    • What: Gadgets hitting the exact instruction limit were incorrectly discarded
    • How: if new_total_insns > self.MAX_INSNS: (changed >= to >)