DynamoRIO / DynamoRIO/dynamorio

Move definition of dr_pred_type_t to opnd.h for AArch64

Open
#4,502 0 comments 0 reactions 0 assignees View on GitHub
Component-API Component-IR
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

The definition of `dr_pred_type_t` for AArch64 should reside in `opnd.h` as the elements of this enum describe one of the types of operands of AArch64 instructions.
This will allows to define functions which work with this kind of operand properly (i.e. using `dr_pred_type_t` instead of `int`).

Contributor guide

Open the contributing guide

Research direction

Search the repository for the definition and uses of dr_pred_type_t, then inspect opnd.h and the current AArch64 operand declarations. Move the definition into opnd.h and update affected function signatures or references so the enum type is used instead of int; confirm the project still builds and its relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.