Skip to content

Commit

Permalink
tiny rop.c cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
giridharprasath committed Jun 18, 2024
1 parent afbe06d commit 7b41307
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions librz/core/rop.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,13 +617,6 @@ RZ_API int rz_core_search_rop(RzCore *core, const char *greparg, int regexp, RzC
continue;
}
if (is_end_gadget(&end_gadget, crop)) {
#if 0
if (search->maxhits && rz_list_length (end_list) >= search->maxhits) {
// limit number of high level rop gadget results
rz_analysis_op_fini (&end_gadget);
break;
}
#endif
RzRopEndListPair *epair = RZ_NEW0(RzRopEndListPair);
if (epair) {
// If this arch has branch delay slots, add the next instr as well
Expand Down

0 comments on commit 7b41307

Please sign in to comment.