forked from osmocom/wireshark
elf: fix FDE Count formatting
Displays the FDE Count as a number, not a series of bytes. Change-Id: I60dd426cb5305a5001a8200578008b7c4a99c64e Reviewed-on: https://code.wireshark.org/review/5489 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
This commit is contained in:
parent
e8cda3b1bd
commit
3355ed6b7e
|
@ -917,7 +917,8 @@ dissect_eh_frame_hdr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *segment_
|
|||
}
|
||||
}
|
||||
|
||||
proto_tree_add_item(segment_tree, hf_elf_eh_frame_hdr_fde_count, tvb, offset, fde_count_length, machine_encoding);
|
||||
proto_tree_add_item(segment_tree, hf_elf_eh_frame_hdr_fde_count, tvb, offset,
|
||||
fde_count_length, machine_encoding);
|
||||
offset += fde_count_length;
|
||||
|
||||
if (table_entry_length == LENGTH_ULEB128) {
|
||||
|
@ -2227,8 +2228,8 @@ proto_register_elf(void)
|
|||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_elf_eh_frame_hdr_fde_count,
|
||||
{ "FDE Count", "elf.eh_frame_hdr.fde_count",
|
||||
FT_BYTES, BASE_NONE, NULL, 0x00,
|
||||
{ "Number of FDE entries", "elf.eh_frame_hdr.fde_count",
|
||||
FT_UINT64, BASE_DEC, NULL, 0x00,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_elf_eh_frame_hdr_binary_search_table_entry_initial_location,
|
||||
|
|
Loading…
Reference in New Issue