diff options
author | comex | 2015-02-23 00:41:29 -0500 |
---|---|---|
committer | comex | 2015-02-23 00:54:13 -0500 |
commit | b63f1dff9dc736f7fa66f04976436f1f3fe2ac5d (patch) | |
tree | db70eb338a0107fdc70992ea2522fd03f2ecf32e /test/transform-dis-cases-i386.S | |
parent | fix some i386 stuff (diff) | |
download | substitute-b63f1dff9dc736f7fa66f04976436f1f3fe2ac5d.tar.gz |
Ban calls within transform regions in threadsafe mode.
Diffstat (limited to 'test/transform-dis-cases-i386.S')
-rw-r--r-- | test/transform-dis-cases-i386.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform-dis-cases-i386.S b/test/transform-dis-cases-i386.S index 3e468d4..c02a044 100644 --- a/test/transform-dis-cases-i386.S +++ b/test/transform-dis-cases-i386.S @@ -17,3 +17,15 @@ EXPECT 2: .byte 0x0f, 0x85; .long 2; jmp 1f; 0: jmp .+0x10000+0x1000-8; 1: GIVEN loopne .+0x80 EXPECT loopne 0f; jmp 1f; 0: jmp .+0x10000+0x80-4; 1: + +GIVEN call .+0x1000; nop +EXPECT_ERR + +GIVEN call *%edi +EXPECT call *%edi + +GIVEN call *%edi; nop +EXPECT_ERR + +GIVEN call *(%edi); nop +EXPECT_ERR |