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 摘要。