petrpavlu / valgrind-riscv64

Valgrind with support for the RISCV64/Linux platform.
GNU General Public License v2.0
56 stars 15 forks source link

riscv64: Enable syswraps for various syscalls #5

Closed Xeonacid closed 2 years ago

Xeonacid commented 2 years ago

These syscalls are from tests of some software I came across. None is PLA except ptrace. Have checked that none of the generic/linux-generic wrappers has architecture-specific stuff. riscv64 don't have ptrace actions like PTRACE_GET/SETREGS or PTRACE_GET/SETFPREGS but only the generic ones on Linux. So it should be OK to use generic wrappers like what arm64 does.

Run clang-format on the two files BTW.

petrpavlu commented 2 years ago

Thanks!