[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] How can I decide whether a binary is complied with
From: |
Paul Pluzhnikov |
Subject: |
Re: [Libunwind-devel] How can I decide whether a binary is complied with frame pointers or not |
Date: |
Tue, 9 Dec 2014 07:12:37 -0800 |
On Tue, Dec 9, 2014 at 1:01 AM, Vladimir Nikulichev <address@hidden> wrote:
>
> I think you should parse frame information in a binary and check whether
> all functions have such pattern:
Note that just about every x86_64/Linux/glibc binary, even one
compiled with -fno-omiit-frame-pointer, will have *some* functions
that don't have a frame pointer. Usually _start is one such function
-- it comes from glibc/crt0.o, and is written in hand-coded assembly.
--
Paul Pluzhnikov