Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage of KeQuerySystemTimePrecise #24

Merged
merged 3 commits into from Mar 24, 2020

Commits on Mar 23, 2020

  1. Get reference to KeQuerySystemTimePrecise

    Mauro Levra committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    683470d View commit details
    Browse the repository at this point in the history
  2. Fix build error

    Mauro Levra committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    c0e375e View commit details
    Browse the repository at this point in the history
  3. Remove My_KeQuerySystemTimePrecise and use pointer

    Global function pointer g_ptrQuerySystemTime is defined in Packet.c to
    store a reference to the system time function available on the current
    system:
      * KeQuerySystemTimePrecise on Windows 8 and later
      * KeQuerySystemTime (function) on Win7/Vista x86
      * KeQuerySystemTimeWrapper on Win7/Vista x64
    The latter is a wrapper around KeQuerySystemTime (macro).
    
    This update removes an if branch and removes an indirect function call.
    Mauro Levra committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    63d3c5c View commit details
    Browse the repository at this point in the history