c4-project / c4f

The C4 Concurrent C Fuzzer
MIT License
14 stars 1 forks source link

x86: parse Intel syntax #2

Closed MattWindsor91 closed 4 years ago

MattWindsor91 commented 6 years ago

We already have a lot of plumbing for Intel syntax, but no parser. Making an Intel parser that's as liberal at accepting real-world x86 as the AT&T one shouldn't be too hard, just time-consuming.

The real question is what we would gain from doing so—clang and gcc both emit AT&T assembly, so this'll only become useful once we target a compiler that doesn't

MattWindsor91 commented 5 years ago

Ideally, this should support MSVC's Intel output, which seems to use a lot of macros.

MattWindsor91 commented 4 years ago

Closing this as we've dropped X86 assembly support.