Try to find a build-id through PT_NOTE program headers
LGTM with one nit https://breakpad.appspot.com/544003/diff/1/src/common/linux/file_id.cc File src/common/linux/file_id.cc (right): https://breakpad.appspot.com/544003/diff/1/src/common/linux/file_id.cc#newcode58 src/common/linux/file_id.cc:58: #define NOTE_PADDING(a) ((a + 3) & ~3) This could stand a comment.