gcc - Why are there some NOP paddings at the end of each function? -


when objdump binary, there nop paddings like

66 66 2e 0f 1f 84 00 00 00 00 00    data32 nopw %cs:0x0(%rax,%rax,1) 

or

0f 1f 84 00 00 00 00 00   nopl   0x0(%rax,%rax,1) 

or

66 90                   xchg   %ax,%ax 

at end of each function. purpose of them? , factors determine sizes?


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -