Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.9-rc5 12 lines 268 B view raw
1#include <stdlib.h> 2#include <elfutils/libdw.h> 3 4int main(void) 5{ 6 Dwarf_Addr base, start, end; 7 Dwarf_Attribute attr; 8 Dwarf_Op *op; 9 size_t nops; 10 ptrdiff_t offset = 0; 11 return (int)dwarf_getlocations(&attr, offset, &base, &start, &end, &op, &nops); 12}