A method for checking page size dependency including generating an
interposing library comprising a first modified interface, wherein the
first modified interface is dependent on a native page size, intercepting
a call into a kernel by the interposing library, wherein the call is
dependent on a non-native page size, modifying the call using the first
modified interface to obtain a modified call, and generating a response
to the modified call by the kernel using the native page size.