| 1 |
/* |
| 2 |
Copyright (C) 2000,2004 Silicon Graphics, Inc. All Rights Reserved. |
| 3 |
|
| 4 |
This program is free software; you can redistribute it |
| 5 |
and/or modify it under the terms of version 2.1 of the |
| 6 |
GNU Lesser General Public License as published by the Free |
| 7 |
Software Foundation. |
| 8 |
|
| 9 |
This program is distributed in the hope that it would be |
| 10 |
useful, but WITHOUT ANY WARRANTY; without even the implied |
| 11 |
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 12 |
PURPOSE. |
| 13 |
|
| 14 |
Further, this software is distributed without any warranty |
| 15 |
that it is free of the rightful claim of any third person |
| 16 |
regarding infringement or the like. Any license provided |
| 17 |
herein, whether implied or otherwise, applies only to this |
| 18 |
software file. Patent licenses, if any, provided herein |
| 19 |
do not apply to combinations of this program with other |
| 20 |
software, or any other product whatsoever. |
| 21 |
|
| 22 |
You should have received a copy of the GNU Lesser General |
| 23 |
Public License along with this program; if not, write the |
| 24 |
Free Software Foundation, Inc., 51 Franklin Street - Fifth |
| 25 |
Floor, Boston MA 02110-1301, USA. |
| 26 |
*/ |
| 27 |
|
| 28 |
/* This is really a sanity limit. It could be increased |
| 29 |
as necesary for long dwarf expressions. |
| 30 |
Originally it was 20, and expressions longer than that |
| 31 |
are now pretty routine. 24 January 2021 */ |
| 32 |
#define MAXIMUM_LOC_EXPR_LENGTH 300 |
| 33 |
|
| 34 |
struct Dwarf_P_Expr_s { |
| 35 |
Dwarf_Small ex_byte_stream[MAXIMUM_LOC_EXPR_LENGTH]; |
| 36 |
Dwarf_P_Debug ex_dbg; |
| 37 |
Dwarf_Unsigned ex_next_byte_offset; |
| 38 |
Dwarf_Unsigned ex_reloc_sym_index; |
| 39 |
Dwarf_Unsigned ex_reloc_offset; |
| 40 |
}; |