Displaying 1 result from an estimated 1 matches for "8340ccdc".
2016 Oct 05
3
Using '__attribute__((section("name")))' for inline assembly injection
I recently examined a bug in a program, and it turned out that the customer
was using the section attribute as a form of inline-assembly mechanism, with
something like:
__attribute__((section("sectionName\nasm\nasm\nasm")))
this was really ugly and not at all obvious where the problem originated.
Is there any way of getting LLVM or CLang to validate the name used in the
section