DynamoRIO / DynamoRIO/dynamorio

AArch64 codec is not scalable

Open
#5,326 3 comments 0 reactions 1 assignee Claimed by @AssadHashmi View on GitHub
Component-IR Component-Tests OpSys-AArch64
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

The current methods of defining and generating encode and decode functionality are not scalable for implementing support of ISA versions after v8.0

At present AArch64 has one `codec.txt` and one `codec.c` file which defines all instructions currently supported as well as all the bitmask and operand definitions. Encode and decode data and code generated from `codec.txt` are also all in one set of files regardless of ISA version.

Test files like `dis-a64.txt` and `ir_aarch64.c` contain all encode/decode instructions tests.

This issue will track separation of the codec by ISA version for the purposes of reduced maintenance overhead and more reliable functionality.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.