Skip to content

Commit

Permalink
test/unit/rop: set arch explicitly (#4564)
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka authored Jul 10, 2024
1 parent c8d0505 commit c9fc24e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/test_rop_constraint.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"gpr bh .8 41 0\n"

void setup_rzcore(RzCore *core) {
rz_config_set(core->config, "analysis.arch", "x86");
rz_analysis_set_bits(core->analysis, 64);
rz_reg_set_profile_string(core->analysis->reg, REGISTER_PROFILE_STRING);
}

Expand Down

0 comments on commit c9fc24e

Please sign in to comment.