Skip to content

Commit

Permalink
We cannot test instr length of a converted DR_ISA_REGDEPS instr_t.
Browse files Browse the repository at this point in the history
It's not set, decode sets it.
  • Loading branch information
edeiana committed Dec 18, 2024
1 parent 682fba5 commit 819c5b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions suite/tests/api/ir_regdeps.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ test_instr_encode_decode_disassemble_synthetic(void *dc, instr_t *instr,
/* Check instruction length.
*/
ASSERT((next_pc_encode - bytes) == instr_length(dc, instr_synthetic_decoded));
ASSERT((next_pc_encode - bytes) == instr_length(dc, instr_synthetic_converted));
ASSERT(instr_length(dc, instr_synthetic_decoded) != 0);
ASSERT(instr_length(dc, instr_synthetic_converted) != 0);

/* Check for overflow.
*/
Expand Down

0 comments on commit 819c5b6

Please sign in to comment.