Skip to content

Commit

Permalink
Fix typo and change 'aaa' to 'aF'
Browse files Browse the repository at this point in the history
  • Loading branch information
satk0 committed Jul 8, 2024
1 parent 65abfaa commit 635a5a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/test_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static bool test_anal_sign_get_set(void) {
mu_end;
}

bool test_anal_sign_avoid_dup_funcions(void) {
bool test_anal_sign_avoid_dup_functions(void) {
RCore *core = r_core_new ();

RAnalFunction *fcn1 = r_anal_create_function (core->anal, "fcn1", 0x2137, 0, NULL);
Expand All @@ -128,7 +128,7 @@ bool test_anal_sign_avoid_dup_funcions(void) {
RAnalBlock *second_block = r_anal_create_block (core->anal, 0xdeadbeef, 31);
r_anal_function_add_block (fcn2, second_block);

r_core_cmd0 (core, "aaa"); // find functions
r_core_cmd0 (core, "aF"); // find functions

int count = r_sign_all_functions (core->anal, false); // "zg"
mu_assert_eq (count, 2, "Should create 2 new zignatures for the unseen functions");
Expand All @@ -142,7 +142,7 @@ bool test_anal_sign_avoid_dup_funcions(void) {

int all_tests(void) {
mu_run_test (test_anal_sign_get_set);
mu_run_test (test_anal_sign_avoid_dup_funcions);
mu_run_test (test_anal_sign_avoid_dup_functions);
return tests_passed != tests_run;
}

Expand Down

0 comments on commit 635a5a6

Please sign in to comment.