if im catching SIGILL in a c program is there a standard way to get the opcode or address of the instruction or anything or do i need to do a pro gamer move

edit: resolved in replies, thank you