[all-commits] [llvm/llvm-project] 3ca5b7: [ASan] add pattern 'cmp BYTE PTR [rdx], XX' to win...

David Justo via All-commits all-commits at lists.llvm.org
Mon Jun 8 13:10:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ca5b7dc4f50f5e1af51f25c2575c8fa509c24b7
      https://github.com/llvm/llvm-project/commit/3ca5b7dc4f50f5e1af51f25c2575c8fa509c24b7
  Author: David Justo <david.justo.1996 at gmail.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

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

  Log Message:
  -----------
  [ASan] add pattern 'cmp BYTE PTR [rdx], XX' to win instruction decoder (#202407)

**Context:** The ASan instruction decoder in `interception_win.cpp` has
a manual case-based list for each instruction pattern we expect to see
in function prologues.

Today, we have an instruction decoder for `cmp BYTE PTR [rcx], XX`, but
we do not have the equivalent for `cmp BYTE PTR [rdx], XX`. In recent
builds of Windows, that latter is now seen in `ucrtbase!strstr`.

**This PR** adds the missing case.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list