-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure out a way to allow more assembler/disassembler modes #225
Comments
Another point in favor of this is that some architectures don't have multiple bit size support. |
One difficulty found because of this transition (branch: arch-breaking) is that you can no longer assemble/disassemble for remote processes using Another problem that arrived from that is: how should libmem guess its architecture? static inline lm_arch_t
get_architecture_from_bits(lm_size_t bits)
{
// ...
} This function has been added to guess the architecture of a process based on its bits. Now you can use |
|
Some architectures have lots of modes, e.g ARM.
ARM has thumb mode, v8 mode, etc
What I'm thinking is to interpret those as different architectures:
In addition to this, I could also deprecate the
bits
parameter from theLM_AssembleEx
andLM_DisassembleEx
functionsThe text was updated successfully, but these errors were encountered: