beehive-lab / mambo

A low-overhead dynamic binary instrumentation and modification tool for ARM (both AArch32 and AArch64 support) and RISC-V (RV64GC).
Apache License 2.0
318 stars 69 forks source link

Add initial support for AT_RSEQ_* #122

Open IgWod opened 3 months ago

IgWod commented 3 months ago

In newer operating systems ATRSEQ parameters are automatically added to binaries. This does not mean that the application uses rseq, but it is a possibility. Currently we do not support rseq as it is a complex issue, so for now we allow ATRSEQ to be passed, however a warning is printed, as there are no guarantees rseq will not be used by the binary. In most of the cases however resq is not used and majority of binaries should run without any issues.

This addresses: https://github.com/beehive-lab/mambo/issues/120