[PATCH] D44775: [ELF] - Fill executable segments with trap instructions.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 23 11:20:50 PDT 2018
ruiu added inline comments.
================
Comment at: ELF/Arch/X86.cpp:445
0x59, // 2d: pop %ecx
0xc3, // 2e: ret
};
----------------
These instructions won't change, so let's just append 0xcc instructions at end of each array, instead of using memset.
https://reviews.llvm.org/D44775
More information about the llvm-commits
mailing list