From b63f1dff9dc736f7fa66f04976436f1f3fe2ac5d Mon Sep 17 00:00:00 2001 From: comex Date: Mon, 23 Feb 2015 00:41:29 -0500 Subject: Ban calls within transform regions in threadsafe mode. --- test/transform-dis-cases-i386.S | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/transform-dis-cases-i386.S') 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 -- cgit v1.2.3