Print this page
remove more unused crap
take to dis and libdisasm with an axe; does not yet compile

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dis/dis_target.h
          +++ new/usr/src/cmd/dis/dis_target.h
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47   * Target management
  48   48   */
  49   49  dis_tgt_t *dis_tgt_create(const char *);
  50   50  void dis_tgt_destroy(dis_tgt_t *);
  51   51  const char *dis_tgt_lookup(dis_tgt_t *, uint64_t, off_t *, int, size_t *,
  52   52      int *);
  53   53  const char *dis_find_section(dis_tgt_t *, uint64_t, off_t *);
  54   54  const char *dis_tgt_name(dis_tgt_t *);
  55   55  const char *dis_tgt_member(dis_tgt_t *);
  56   56  void dis_tgt_ehdr(dis_tgt_t *, GElf_Ehdr *);
  57      -#if !defined(__sparc)
  58   57  off_t dis_tgt_next_symbol(dis_tgt_t *, uint64_t);
  59      -#endif
  60   58  dis_tgt_t *dis_tgt_next(dis_tgt_t *);
  61   59  
  62   60  /*
  63   61   * Section management
  64   62   */
  65   63  typedef void (*section_iter_f)(dis_tgt_t *, dis_scn_t *, void *);
  66   64  void dis_tgt_section_iter(dis_tgt_t *, section_iter_f, void *);
  67   65  
  68   66  int dis_section_istext(dis_scn_t *);
  69   67  void *dis_section_data(dis_scn_t *);
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX