angr / angr/archinfo

Synchronize segment register names for i386 and amd64

未关闭
#211 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement needs-triage
主要语言
Python
星标
97
派生
70
平均合并
2 天 6 小时
30 天内合并 PR
8

描述

### Description

segment registers have different name for i386, amd64 in archinfo, which is quite annoying
specifically, in archinfo, i386 calls them normally like "cs", "ds", "es", "fs", "gs", "ss", but amd64 calls them "cs_seg", "ds_seg", which is annoying when developing something relevant to those registers.

i386: https://github.com/angr/archinfo/blob/master/archinfo/arch_x86.py#L56
amd64: https://github.com/angr/archinfo/blob/master/archinfo/arch_amd64.py#L442

### Alternatives

_No response_

### Additional context

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。