case Computer :

[Embedded] DWARF

거곰 2013. 6. 19. 11:14

DWARF 자체가 tool은 아니고, 컴파일 시 symbol table을 생성하기 위한 data format 입니다.

이 형태로 컴파일 하기 위해서는 libdwarf 라는 라이브러리가 필요하며, arm에서는 기본적으로 C/C++ 컴파일 시 dwarf 형태로 symbol table을 생성하는 것으로 보입니다.

자세한 내용은 아래 Reference를 참조하시길 바랍니다.

1. DWARF is a widely used, standardized debugging data format.

  • DWARF was originally designed along with Executable and Linkable Format (ELF), although it is independent of object file formats. The name is a medieval fantasy complement to "ELF" that has no official meaning, although the backronym 'Debugging With Attributed Record Formats' was later proposed.
  • DWARF는 디버깅 데이터 포맷이다.
  • libdwarf 라이브러리를 이용하여 컴파일하면 dwarf 형태로 syambol table을 만들어 수 있다.(arm에서는 dwarf 방식으로 symbol table을 생성할 수 있다.)
  • DWARF 사용과 관련된 한글 포스팅 자료 : http://recipes.egloos.com/5011946
    • dwarf에 대한 직접적인 설명은 아니지만 dwarf 가 어떤 경우 사용하는 것인지 이해할 수 있음

2. Reference

반응형