On Wed, Nov 28, 2018 at 07:24:08PM -0800, Andy Lutomirski wrote: > To be clear, that wasn’t a NAK. It was merely a “this is alarming.” > > Hey Josh - you could potentially do the same hack to generate the > static call tables. Take that, objtool.
Ha, after witnessing Nadav's glorious hack, I considered that. But I didn't see a way to pull it off, because asm macro conditionals don't seem to have a way to test for a regex (or at least a named prefix) for the call target. I'd need a way to detect "call __static_call_tramp_<whatever>". -- Josh