[all-commits] [llvm/llvm-project] 22ea0c: [compiler-rt] [windows] Add more assembly patterns...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Tue Sep 21 15:53:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22ea0cea595e1b44b46c520243f2292bc4e3d943
      https://github.com/llvm/llvm-project/commit/22ea0cea595e1b44b46c520243f2292bc4e3d943
  Author: Toshihito Kikuchi <leamovret at gmail.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M compiler-rt/lib/interception/interception_win.cpp
    M compiler-rt/lib/interception/tests/interception_win_test.cpp

  Log Message:
  -----------
  [compiler-rt] [windows] Add more assembly patterns for interception

To intercept the functions in Win11's ntdll.dll, we need to use the trampoline
technique because there are bytes other than 0x90 or 0xcc in the gaps between
exported functions.  This patch adds more patterns that appear in ntdll's
functions.

Bug: https://bugs.llvm.org/show_bug.cgi?id=51721

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D109941




More information about the All-commits mailing list