Skip to content

Commit 81a4ebc

Browse files
committed
Add bit length
1 parent 87407fe commit 81a4ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/plugins/bap-tracing/tracing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ OperandInfo *init_reg_operand_info(const char *name, const uint8_t *value,
163163
ou->written = access & OperandWritten;
164164
OperandInfo *oi = g_new(OperandInfo, 1);
165165
operand_info__init(oi);
166-
oi->bit_length = 0;
166+
oi->bit_length = value_size * 8;
167167
oi->operand_info_specific = ois;
168168
oi->operand_usage = ou;
169169
oi->value.len = value_size;

0 commit comments

Comments
 (0)