LinuxCon + CloudOpen + ELC-E Europe 2014 has ended
To Learn More: LinuxCon Europe | CloudOpen Europe | Embedded Linux Conference Europe.

Attendees! Please provide us feedback on the sessions you attend! Click here to submit a brief survey for each session and win a $250 Amazon gift certificate. 

>> Tracing Summit: View the Full Schedule
Back To Schedule
Tuesday, October 14 • 2:30pm - 3:20pm
x86 Instruction Encoding and Nasty Hacks We Do in the Linux Kernel - Borislav Petkov, SUSE

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

I have always wanted to understand x86 instruction encoding in detail but never gotten around to it. Of course not, who has time nowadays?! So, in order to force me to do it, I decided to write an x86 instruction decoder.

This talk attempts to show what I have learned in the process and how instruction encoding is done on x86.

As a practical aspect, the decoder I've scratched together tries to verbosely show some of the crazy low-level hacks^Wtechniques we do in the Linux kernel like alternatives patching, jump labels, exception tables, etc - they have a lot to do with deep knowledge of x86 instructions and how code is generally laid out in the binary kernel image. Maybe this talk can help shed some light on the whole fun that's happening under the hood in the kernel and so many are missing out on. And maybe it'll make it more interesting and palatable to people.


Borislav Petkov

RAS/AMD kernel maintainer working currenly at SUSE Labs. Prior to that at AMDs Operating Systems Research Center doing Linux enablement and hardware debugging work.

Tuesday October 14, 2014 2:30pm - 3:20pm CEST
Room 16

Attendees (0)