Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data type question in bcc_elf.c: 236 line #4918

Open
AlwaysEden opened this issue Feb 26, 2024 · 0 comments
Open

Data type question in bcc_elf.c: 236 line #4918

AlwaysEden opened this issue Feb 26, 2024 · 0 comments

Comments

@AlwaysEden
Copy link

스크린샷 2024-02-26 21 45 13

I used this libelf(https://github.com/WolfgangSt/libelf/tree/master). But It doesn't have GElf_Nhdr data type. The library have following variables. Let me know either bcc project uses other libelf or that is typo.

typedef Elf64_Addr GElf_Addr;
typedef Elf64_Half GElf_Half;
typedef Elf64_Off GElf_Off;
typedef Elf64_Sword GElf_Sword;
typedef Elf64_Word GElf_Word;
typedef Elf64_Sxword GElf_Sxword;
typedef Elf64_Xword GElf_Xword;

typedef Elf64_Ehdr GElf_Ehdr;
typedef Elf64_Phdr GElf_Phdr;
typedef Elf64_Shdr GElf_Shdr;
typedef Elf64_Dyn GElf_Dyn;
typedef Elf64_Rel GElf_Rel;
typedef Elf64_Rela GElf_Rela;
typedef Elf64_Sym GElf_Sym;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant