mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-28 06:15:21 +00:00
Refactoring for 'note' section dump
This commit is contained in:
parent
e451ea214a
commit
89a6dfb4c1
@ -934,7 +934,7 @@ class dump
|
|||||||
{
|
{
|
||||||
out << " [" << DUMP_DEC_FORMAT( 2 ) << no << "] ";
|
out << " [" << DUMP_DEC_FORMAT( 2 ) << no << "] ";
|
||||||
|
|
||||||
const note_tag_t* name_group;
|
const note_tag_t* name_group = std::end( note_tag_table );
|
||||||
std::vector<note_tag_t::note_values_t>::const_iterator type_value;
|
std::vector<note_tag_t::note_values_t>::const_iterator type_value;
|
||||||
|
|
||||||
name_group = std::find_if(
|
name_group = std::find_if(
|
||||||
@ -962,7 +962,6 @@ class dump
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( descsz != 0 ) {
|
if ( descsz != 0 ) {
|
||||||
|
|
||||||
for ( Elf_Word i = 0; i < descsz; ++i ) {
|
for ( Elf_Word i = 0; i < descsz; ++i ) {
|
||||||
if ( i % 16 == 0 ) {
|
if ( i % 16 == 0 ) {
|
||||||
out << std::endl << " ";
|
out << std::endl << " ";
|
||||||
|
Loading…
Reference in New Issue
Block a user