summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorJin Kyu Song <jin.kyu.song@intel.com>2013-10-15 19:38:51 -0700
committerJin Kyu Song <jin.kyu.song@intel.com>2013-11-20 11:29:42 -0800
commit0304109b3d40c3a46e383cadaeae365c66e1b0e4 (patch)
tree257a89da17087dce1506ddf05b07a0799f050ceb /insns.pl
parent164d60740f0aa2759ae78874bd5c8692d8d59e60 (diff)
downloadnasm-0304109b3d40c3a46e383cadaeae365c66e1b0e4.tar.gz
nasm-0304109b3d40c3a46e383cadaeae365c66e1b0e4.tar.bz2
nasm-0304109b3d40c3a46e383cadaeae365c66e1b0e4.zip
MPX: Add BND prefix for branch instructions
BND prefix is used for adding bounds checking protection across flow control changes such as call, ret, jmp and jcc calls. Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Diffstat (limited to 'insns.pl')
-rwxr-xr-xinsns.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/insns.pl b/insns.pl
index 8bd76ab..2953a4d 100755
--- a/insns.pl
+++ b/insns.pl
@@ -765,6 +765,7 @@ sub byte_code_compile($$) {
'resb' => 0340,
'jcc8' => 0370, # Match only if Jcc possible with single byte
'jmp8' => 0371, # Match only if JMP possible with single byte
+ 'bnd' => 0372, # BND (0xF2) prefix available
'jlen' => 0373, # Length of jump
'hlexr' => 0271,
'hlenl' => 0272,