diff options
Diffstat (limited to 'libctf/ctf-open.c')
-rw-r--r-- | libctf/ctf-open.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libctf/ctf-open.c b/libctf/ctf-open.c index 3281c67..ecf27ee 100644 --- a/libctf/ctf-open.c +++ b/libctf/ctf-open.c @@ -1854,6 +1854,18 @@ ctf_getdatasect (const ctf_dict_t *fp) return fp->ctf_data; } +ctf_sect_t +ctf_getsymsect (const ctf_dict_t *fp) +{ + return fp->ctf_symtab; +} + +ctf_sect_t +ctf_getstrsect (const ctf_dict_t *fp) +{ + return fp->ctf_strtab; +} + /* Return the CTF handle for the parent CTF dict, if one exists. Otherwise return NULL to indicate this dict has no imported parent. */ ctf_dict_t * |