1. MOVQ $0x0, 0x18(SP) puts 0 in the memory location SP+0x18. This is a bit mysterious.
Anatomy of a function call in Go
Phil Pearl

Could it be so that in case of panic the value returned will still be zero and not something that was previously in there ?

Like what you read? Give Adrien Delorme a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.