https://www.mcmaster.com/pop-rivets/
Rivets for sure. The fat end of the rivet goes into a hole in 2 pieces of metal which are being connected to each other. The long end goes into a rivet gun which grabs the shaft and pulls it so that the housing on the other end deforms - gets thicker. Then it slices off the long end.