MCPcopy Create free account
hub / github.com/SecWiki/linux-kernel-exploits / wrapper

Function wrapper

2017/CVE-2017-1000112/poc.c:177–189  ·  view source on GitHub ↗

Unfortunately GCC does not support `__atribute__((naked))` on x86, which can be used to omit a function's prologue, so I had to use this weird wrapper hack as a workaround. Note: Clang does support it, which means it has better support of GCC attributes than GCC itself. Funny.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected