13–15 Nov 2023
America/New_York timezone

Synthesized CFI for hand-written assembly in GNU assembler

13 Nov 2023, 10:20
50m
"Magnolia" (Omni Richmond Hotel)

"Magnolia"

Omni Richmond Hotel

187
Toolchains Track Toolchains

Speaker

Indu Bhagat

Description

We are working on extending the GNU assembler to Synthesize CFI (SCFI) for hand-written assembly. Using a new command line option "--scfi[=all,none]" to the GNU assembler, the users can invoke GAS' SCFI machinery to synthesize CFI for hand-written assembly. Some restrictions on the hand-written assembly do need to apply. The work is in progress and the first target is x86_64, with an option like "--scfi=inline" in the roadmap to handle inline assembly later. It will be good to discuss if this is useful for the Linux kernel; And further extensions that may be needed to make this useful for the kernel's use of hand-written and inline assembly.

Primary author

Presentation materials

Diamond Sponsors
Platinum Sponsor
Gold Sponsors
Silver Sponsors
Catchbox Sponsor
Livestream Sponsors
T-Shirt Sponsor
Conference Services Provided by