modification_hooks: handle inline assembly