Create  Edit  Diff  FrontPage  Index  Search  Changes  Login

libdwarf でデバッグ情報を取得する

  1. include <stdio.h>
  1. include <dwarf.h>
  1. include <libdwarf.h>

int main(int argc, char** argv) {

 int fd;
 int ret;
 fd = open(argv[1], O_RDONLY);
 
Last modified:2024/05/26 14:57:11
Keyword(s):
References:[PortableBinaryHacks]