HOIST by one's...?

I believe a pet-[suffix] is a bomb, and a "petard" (Fr.) is a little one?