mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 05:19:41 -07:00
helper for querying arch bittness in byte size
This commit is contained in:
1 parent
7cf3eaf73f
commit
e4f6c0fc8e
2 files changed
+7
No files matched your search
@@ -407,6 +407,12 @@ bit_size_from_arch(Arch arch)
|
||||
return arch_bitsize;
|
||||
}
|
||||
|
||||
internal U64
|
||||
byte_size_from_arch(Arch arch)
|
||||
{
|
||||
return bit_size_from_arch(arch) / 8;
|
||||
}
|
||||
|
||||
internal U64
|
||||
max_instruction_size_from_arch(Arch arch)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user