Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

Unpatchable syscalls: ones at end of basic block, like clock_nanosleep #27

Open
rrnewton opened this issue Mar 15, 2019 · 0 comments
Open

Comments

@rrnewton
Copy link
Collaborator

rrnewton commented Mar 15, 2019

Example from #24 (comment), nanosleep is often the last thing in the basic block:

syscall
label: xx
yyy

Proposed solutions:

  • Back-tracking (like LiteInst)
  • Instruction Punning (but only with a "natural pun" that keeps yyy, turning it into a SIGILL would be no good for a function entry)
@rrnewton rrnewton changed the title Unpatchable syscalls: ones at end of basic block, like nanosleep Unpatchable syscalls: ones at end of basic block, like clock_nanosleep Mar 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant