Project

General

Profile

Feature #6885

CTF Everywhere Part 1

Added by Robert Mustacchi over 3 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2016-04-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

This is a master ticket for a set of CTF improvements. It focuses on the following:

  • Implementing common CTF tools in terms of libctf
  • Implementing a diffing routine
  • Enhancing CTF Convert to handle multiple dies
  • Laying the foundations for allowing DTrace, mdb, and ld to do CTF conversions

Related issues

Related to illumos gate - Feature #6886: Want ctfdiffClosed2016-04-11

Actions
Related to illumos gate - Feature #6887: ctfdump should be written in terms of libctfClosed2016-04-11

Actions
Related to illumos gate - Feature #6888: ctfmerge should be implemented in terms of libctfClosed2016-04-11

Actions
Related to illumos gate - Feature #6889: ctfconvert should be implemented in terms of libctfClosed2016-04-11

Actions
Related to illumos gate - Feature #6890: Want general workqClosed2016-04-11

Actions
Related to illumos gate - Feature #6891: Want general mergeqClosed2016-04-11

Actions
Related to illumos gate - Bug #6892: ctf_add_encoded assigns() incorrect byte size to typesClosed2016-04-11

Actions
Related to illumos gate - Bug #6893: ctf_add_{struct,union,enum} can reuse forwardsClosed2016-04-11

Actions
Related to illumos gate - Bug #6894: ctf_add_{struct,union,enum} occasionally forget to dirty the ctf_file_tClosed2016-04-11

Actions
Related to illumos gate - Bug #6895: ctf_add_member could better handle bitfieldsClosed2016-04-11

Actions
Related to illumos gate - Bug #6896: ctf_type_size() reports wrong size for forwardsClosed2016-04-11

Actions
Related to illumos gate - Feature #6897: Want libctf ctf_kind_name() functionClosed2016-04-11

Actions
Related to illumos gate - Feature #6898: Want libctf function to set struct/union sizeClosed2016-04-11

Actions

History

#1

Updated by Robert Mustacchi over 3 years ago

#2

Updated by Robert Mustacchi over 3 years ago

  • Related to Feature #6887: ctfdump should be written in terms of libctf added
#3

Updated by Robert Mustacchi over 3 years ago

  • Related to Feature #6888: ctfmerge should be implemented in terms of libctf added
#4

Updated by Robert Mustacchi over 3 years ago

  • Related to Feature #6889: ctfconvert should be implemented in terms of libctf added
#5

Updated by Robert Mustacchi over 3 years ago

#6

Updated by Robert Mustacchi over 3 years ago

#7

Updated by Robert Mustacchi over 3 years ago

  • Related to Bug #6892: ctf_add_encoded assigns() incorrect byte size to types added
#8

Updated by Robert Mustacchi over 3 years ago

  • Related to Bug #6893: ctf_add_{struct,union,enum} can reuse forwards added
#9

Updated by Robert Mustacchi over 3 years ago

  • Related to Bug #6894: ctf_add_{struct,union,enum} occasionally forget to dirty the ctf_file_t added
#10

Updated by Robert Mustacchi over 3 years ago

  • Related to Bug #6895: ctf_add_member could better handle bitfields added
#11

Updated by Robert Mustacchi over 3 years ago

  • Related to Bug #6896: ctf_type_size() reports wrong size for forwards added
#12

Updated by Robert Mustacchi over 3 years ago

  • Related to Feature #6897: Want libctf ctf_kind_name() function added
#13

Updated by Robert Mustacchi over 3 years ago

  • Related to Feature #6898: Want libctf function to set struct/union size added
#14

Updated by Electric Monk 7 months ago

  • Status changed from New to Closed

git commit bc1f688b4872ace323eaddbb1a6365d054e7bf56

commit  bc1f688b4872ace323eaddbb1a6365d054e7bf56
Author: Robert Mustacchi <rm@joyent.com>
Date:   2019-02-11T17:40:04.000Z

    6885 CTF Everywhere Part 1
    6886 Want ctfdiff
    6887 ctfdump should be written in terms of libctf
    6888 ctfmerge should be implemented in terms of libctf
    6889 ctfconvert should be implemented in terms of libctf
    6890 Want general workq
    6891 Want general mergeq
    6892 ctf_add_encoded assigns() incorrect byte size to types
    6893 ctf_add_{struct,union,enum} can reuse forwards
    6894 ctf_add_{struct,union,enum} occasionally forget to dirty the ctf_file_t
    6895 ctf_add_member could better handle bitfields
    6896 ctf_type_size() reports wrong size for forwards
    6897 Want libctf ctf_kind_name() function
    6898 Want libctf function to set struct/union size
    Portions contributed by: John Levon <john.levon@joyent.com>
    Portions contributed by: Richard Lowe <richlowe@richlowe.net>
    Reviewed by: John Levon <john.levon@joyent.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF