Skip to content

Commit

Permalink
Remove x64 signature on nop, as it's not always present
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemk14ebr committed Nov 28, 2023
1 parent e867149 commit 7c3a6bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions objfile/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ type SignatureMatch struct {
// 0x000000000044D80A: 48 8D 0D 8F DA 26 00 lea rcx, runtime_firstmoduledata
// 0x000000000044D811: EB 0D jmp short loc_44D820
// 0x000000000044D813: 48 8B 89 30 02 00 00 mov rcx, [rcx+230h]
// 0x000000000044D81A: 66 0F 1F 44 00 00 nop word ptr [rax+rax+00h] <- always seems to be present
var x64sig = signatureModuleDataInitx64{3, 7, `{ 48 8D 0? ?? ?? ?? ?? E? ?? 48 8? 8? ?? 02 00 00 66 0F 1F 44 00 00 }`, nil}
var x64sig = signatureModuleDataInitx64{3, 7, `{ 48 8D 0? ?? ?? ?? ?? E? ?? 48 8? 8? ?? 02 00 00 }`, nil}

// 0x00438A94: 8D 05 60 49 6A 00 lea eax, off_6A4960
// 0x00438A9A: EB 1A jmp short loc_438AB6
Expand Down

0 comments on commit 7c3a6bb

Please sign in to comment.