krf icon indicating copy to clipboard operation
krf copied to clipboard

Add a mode for skipping faults during dynamic loading

Open woodruffw opened this issue 6 years ago • 0 comments

One problem with faulting programs under KRF is that KRF might decide to inject a fault during the dynamic link/load phase, aborting ld-linux.so instead of the actual target image. This usually isn't helpful, since it doesn't indicate any mistakes in the target itself.

It should be possible to check the loaded program's name via the current task, probably via comm. We should use that (or whatever other field) to provide a configurable option for not faulting if it matches any of the common dynamic loader names.

This should also be possible on FreeBSD, but we can start with Linux-only.

woodruffw avatar Dec 24 '19 15:12 woodruffw