0xced/otx — pull request #1 by sdsykes (2013-03-15 21:34:37+00:00)
Title: Check the address matches when connecting line lists

Otool now generates output like this in the verbose output:

0000000100007ec4 leaq 1866646(%rip), %rsi ## literal pool for: Dashboard: The default image at %s cannot be found, this widget will not run.

0000000100007ecb leaq -3152(%rbp), %rdx

The "## literal pool for" information can run over several lines, and can include newlines (as above).

This causes the matching up of lines to fail. This patch just dumbly checks that the addresses match so that the correct lines get connected.

It could be smarter to keep these new multi-line literals rather than just skipping the additional lines, but they can be really long.

This is a quick fix that works for now.