title: How can I get the offset and size of the text section of a binary?
body: <p>I'd like to know the exact byte locations of the text section of a binary, the better to inspect it algorithmically. I've tried using <code>size</code>, but that only seems to give me the sizes of the sections, not their locations, and I've tried using <code>readelf</code>, but that frankly gives me too much information.</p>