NAME=fh
FILE=bins/elf/analysis/ls-alxchk
CMDS=fh
EXPECT=<<EOF
 elf_
     header
     phdr
     sh
       dr
       strtab
     strtab
 entry.
       fini0
       init0
 entry0
 loc._
      _bss_start
      e
       data
       nd
 loc.imp.__gmon_start__
 main
 reloc._ITM_
            deregisterTMCloneTable
            registerTMCloneTable
 reloc._
        Jv_RegisterClasses
        _
         assert_fail
         ctype_
               b_loc
               get_mb_cur_max
               to
                 lower_loc
                 upper_loc
         cxa_
             atexit
             finalize
         errno_location
         fp
           ending
           rintf_chk
         f
          reading
          xstat
         gmon_start__
         l
          ibc_start_main
          xstat
         mem
            cpy_chk
            pcpy_chk
         overflow
         printf_chk
         s
          printf_chk
          t
           ack_chk_fail
           rtoul_internal
         uflow
         xstat
        exit
        obstack_
                begin
                newchunk
        setjmp
 reloc.a
        bort
        cl_
           extended_file
           get_
               entry
               tag_type
 reloc.
       bindtextdomain
       ca
         lloc
         p_
           free
           get_file
           to_text
       clo
          ck_gettime
          se
          sedir
       d
        cgettext
        irfd
       e
        rror
        xit
       f
        close
        dopen
        flush
        flush_unlocked
        i
         leno
         xup.
             Copyright__s__d_Free_Software_F
             UHA
                TSH0
                UATSH8
                WAVAUATSH
                         8
                         H
             UHH
                0
                _
             ac
               cess
               ross
             al
               l
               most_all
               ways
             a
              time
              ut
                hor
                o
             b
              d
              lock_size
             c
              a
              d
              l
              o
               lor
               mmas
               ntext
              time
             dereference
             dereference_command_line
             d
              ereference_command_line_symlin
              i
              ire
                 ctory
                 d
              o
             e
              c
              scape
              x
              xtension
             fi
             f
              ile_type
              or
                ce
                mat
              ull_
                  iso
                  time
             group_directories_first
             h
              elp
              ide
              ide_control_chars
              orizontal
              uman_readable
             i
              f_tty
              gnore
              gnore_backups
              n
               dicator_style
               ode
              so
             kibibytes
             l
              c
              iteral
              n
              o
               cale
               ng
               ng_iso
             m
              h
              i
             n
              ever
              o
              umeric_uid_gid
             o
              r
              w
             pi
             quot
                 e_name
                 ing_style
             r
              c
              e
               cursive
               verse
              s
             s
              g
              hell
              h
               ell_always
               ow_control_chars
              i
              lash
              o
              ort
              t
              tatus
              u
             t
              absize
              ime
              ime_style
              ty
              w
             use
             ver
                bose
                sion
                tical
             width
             yes
        nmatch
        puts_unlocked
        ree
        s
         canf
         eeko
        write
        write_unlocked
       get
          env
          gr
            gid
            nam
          opt_long
          pw
            nam
            uid
          timeofday
       i
        octl
        s
         atty
         w
          cntrl
          print
       local
            econv
            time
       lseek
       m
        alloc
        b
         rtowc
         s
          init
          towcs
        emc
           mp
           py
        em
          move
          pcpy
          set
        ktime
       nl_langinfo
       open
       op
         endir
         t
          arg
          ind
       program_invocation_
                          name
                          short_name
       r
        aise
        ead
           dir
           link
        ealloc
       s
        etlocale
        iga
           ction
           ddset
        ig
          emptyset
          ismember
          nal
          procmask
        td
          err
          out
        tp
          cpy
          ncpy
        trc
           hr
           mp
           oll
           py
        tr
          ftime
          len
          ncmp
          rchr
          str
          toul
       t
        cgetpgrp
        extdomain
       ungetc
       wcs
          tombs
          width
       wcwidth
 section.
 section..
          bss
          data
          d
           ata.rel.ro.local
           yn
             amic
             s
              tr
              ym
          eh_frame
          eh_frame_hdr
          fini
          fini_array
          gnu.
              hash
              version
              version_r
          got
          got.plt
          init
          in
            it_array
            terp
          jcr
          note.ABI_tag
          plt
          rela.
               dyn
               plt
          rodata
          shstrtab
          t
           ext
           m_clone_table
 segment.
         DYNAMIC
         GNU_
             EH_FRAME
             STACK
         INTERP
         LOAD
             0
             1
         NOTE
         PHDR
         ehdr
 str.
 str..
      7z_01_31
      Z_01_31
      a
       ac_00_36
       ce_01_31
       lz_01_31
       nx_01_35
       r
        c_01_31
        j_01_31
       sf_01_35
       u_00_36
       vi_01_35
       x
        a_00_36
        v_01_35
      b
       at_01_32
       mp_01_35
       tm_01_32
       z
        2_01_31
        _01_31
      c
       ab_01_31
       gm_01_35
       md_01_32__executables__bright_green_
       om_01_32
       pio_01_31
       sh_01_32
      d
       eb_01_31
       iff_00_32
       l_01_35
       oc_00_32
       z_01_31
      e
       ar_01_31
       mf_01_35
       xe_01_32
      fl
        ac_00_36
        c_01_35
        i_01_35
        v_01_35
      g
       if_01_35
       l_01_35
       z_01_31
      j
       ar_01_31
       p
        eg_01_35
        g_01_35
      l
       ha_01_31
       og_00_32
       rz_01_31
       z
        4_01_31
        _01_31
        h_01_31
        ma_01_31
        o_01_31
      m
       2v_01_35
       4
        a_00_36
        v_01_35
       id
         _00_36
         i_00_36
       k
        a_00_36
        v_01_35
       ng_01_35
       ov_01_35
       p
        3_00_36
        4
         _01_35
         v_01_35
        c_00_36
        eg_01_35
        g_01_35
      nuv_01_35
      og
        a_00_36
        g_00_36
        m_01_35
        v_01_35
        x_01_35
      p
       atch_00_32
       bm_01_35
       cx_01_35
       df_00_32
       gm_01_35
       ng_01_35
       pm_01_35
       s_00_32
      qt_01_35
      ra
        _00_36
        r_01_31
      rm
        _01_35
        vb_01_35
      r
       pm_01_31
       z_01_31
      s
       ar_01_31
       h_01_32
       px_00_36
       vg
         _01_35
         z_01_35
      t
       7z_01_31
       a
        r_01_31
        z_01_31
       bz
         2_01_31
         _01_31
       ex_00_32
       g
        a_01_35
        z_01_31
       if
         _01_35
         f_01_35
       lz_01_31
       x
        t_00_32
        z_01_31
       z
        _01_31
        o_01_31
      vob_01_35
      wa
        r_01_31
        v_00_36
      w
       ebm_01_35
       mv_01_35
      x
       bm_01_35
       cf_01_35
       pm_01_35
       spf_00_36
       wd_01_35
       z_01_31
      yuv_01_35
      z
       _01_31
       ip_01_31
       oo_01_31
 str.01_3
         2
         3
         4
         5
         6
 sym._
      fini
      init
 sym.imp.__
           assert_fail
           ctype_
                 b_loc
                 get_mb_cur_max
                 to
                   lower_loc
                   upper_loc
           cxa_
               atexit
               finalize
           errno_location
           fp
             ending
             rintf_chk
           f
            reading
            xstat
           l
            ibc_start_main
            xstat
           mem
              cpy_chk
              pcpy_chk
           overflow
           printf_chk
           s
            printf_chk
            t
             ack_chk_fail
             rtoul_internal
           uflow
           xstat
 sym.imp._
          exit
          obstack_
                  begin
                  newchunk
          setjmp
 sym.imp.a
          bort
          cl_
             extended_file
             get_
                 entry
                 tag_type
 sym.imp.
         bindtextdomain
         ca
           lloc
           p_
             free
             get_file
             to_text
         clo
            ck_gettime
            se
            sedir
         d
          cgettext
          irfd
         e
          rror
          xit
         f
          close
          dopen
          flush
          flush_unlocked
          ileno
          nmatch
          puts_unlocked
          ree
          s
           canf
           eeko
          write
          write_unlocked
         get
            env
            gr
              gid
              nam
            opt_long
            pw
              nam
              uid
            timeofday
         i
          octl
          s
           atty
           w
            cntrl
            print
         local
              econv
              time
         lseek
         m
          alloc
          b
           rtowc
           s
            init
            towcs
          emc
             mp
             py
          em
            move
            pcpy
            set
          ktime
         nl_langinfo
         open
         opendir
         r
          aise
          ead
             dir
             link
          ealloc
         s
          etlocale
          iga
             ction
             ddset
          ig
            emptyset
            ismember
            nal
            procmask
          tp
            cpy
            ncpy
          trc
             hr
             mp
             oll
             py
          tr
            ftime
            len
            ncmp
            rchr
            str
            toul
         t
          cgetpgrp
          extdomain
         ungetc
         wcs
            tombs
            width
         wcwidth
EOF
RUN

