Created by: JerryYouxin
The register information (including reg_get_size()
and register name reg_names
) is lacked for AArch64, including, DR_REG_CNTVCT_EL0
, DR_REG_NZCV
, DR_REG_FPCR
, and DR_REG_FPSR
. This lack of information will cause client failure as follows (e.g., client tool called reg_get_size(DR_REG_CNTVCT_EL0)
):
...
<Application /usr/bin/ls (60103) DynamoRIO usage error : reg_get_size: invalid register>
<Usage error: reg_get_size: invalid register (/home/yx/dynamorio/core/ir/opnd_shared.c, line 2538)
...
I have already added this information via this PR and added a CI test to early-detect similar information lacks for possible future extensions. These CI tests are listed as code_api|client.reg_size_test
.