Re: [PATCH 13/16] x86/ioemul: Rewrite stub generation to be shadow stack compatible

2020-05-07 Thread Jan Beulich
On 02.05.2020 00:58, Andrew Cooper wrote: > The logic is completely undocumented and almost impossible to follow. It > actually uses return oriented programming. Rewrite it to conform to more > normal call mechanics, and leave a big comment explaining thing. As well as > the code being easier to

[PATCH 13/16] x86/ioemul: Rewrite stub generation to be shadow stack compatible

2020-05-01 Thread Andrew Cooper
The logic is completely undocumented and almost impossible to follow. It actually uses return oriented programming. Rewrite it to conform to more normal call mechanics, and leave a big comment explaining thing. As well as the code being easier to follow, it will execute faster as it isn't fighti