Merge pull request #33 from Manu343726/master

Add ARM support
This commit is contained in:
François-Xavier Bourlet 2016-05-04 10:31:31 -07:00
commit 6ffe2f9524

View File

@ -1934,6 +1934,8 @@ private:
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext.gregs[REG_RIP]);
#elif defined(REG_EIP) // x86_32
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext.gregs[REG_EIP]);
#elif defined(__arm__)
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext.arm_pc);
#else
# warning ":/ sorry, ain't know no nothing none not of your architecture!"
#endif