Article View: gnu.gdb.bug
Article #1120Types table size and format in the .gcc_exception_table
From: alam_shahid
Date: Fri, 04 Jan 2013 14:46
Date: Fri, 04 Jan 2013 14:46
15 lines
1937 bytes
1937 bytes
As part of my research I am updating the .gcc_exception_table of a binary 64 bit elf file. For small C++ programs that throw exceptions it works OK, but for large benchmark programs it's not working. My question is does GCC stores more than one table inside the .gcc_exception_table section of the elf file. If it does what's the exact format of these tables. I have some knowledge of the action table, action records and types table. I am not clear about the size of the types table. I am parsing the tables in this section but is not able to know the exact size and format of the types tables, where a pointer to the exception information is stored. I need to update this pointer to the new updated location. Any help is appreciated. Thanks, -- Shahid
Technical Details
Message-ID:
<5c1fe8ed-efc3-4279-b575-9c0a5d691438@googlegroups.com>Path:
arc1-ca.pugleaf.net!s9ni72755pbb.0!nntp.google.com!f6no9685746pbd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f5053,bd5e0ddaf5eb263f,start
X-Google-NewGroupId: yes
X-Google-Attributes: gidf0ead4270c,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.66.80.34 with SMTP id o2mr7220699pax.9.1357310764357;
Fri, 04 Jan 2013 06:46:04 -0800 (PST)
X-Received: by 10.50.87.165 with SMTP id az5mr473639igb.1.1357310764111; Fri,
04 Jan 2013 06:46:04 -0800 (PST)
Path: arc1-ca.pugleaf.net!s9ni72755pbb.0!nntp.google.com!f6no9685746pbd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: gnu.gdb.bug
Date: Fri, 4 Jan 2013 06:46:03 -0800 (PST)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.108.145.70;
posting-account=Q6PBlgoAAABQbhBTbCxfzgZgfC6hzkrU
NNTP-Posting-Host: 24.108.145.70
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5c1fe8ed-efc3-4279-b575-9c0a5d691438@googlegroups.com>
Subject: Types table size and format in the .gcc_exception_table
From: alam_shahid@yahoo.com
Injection-Date: Fri, 04 Jan 2013 14:46:04 +0000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable