summaryrefslogtreecommitdiff
path: root/nasm.h
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 /nasm.h
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 'nasm.h')
-rw-r--r--nasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index 50e4b63..5ca2aa5 100644
--- a/nasm.h
+++ b/nasm.h
@@ -552,6 +552,7 @@ enum prefixes { /* instruction prefixes */
P_WAIT,
P_XACQUIRE,
P_XRELEASE,
+ P_BND,
PREFIX_ENUM_LIMIT
};