[질문] Cross compiling 환경의 memory leak detector?

ulsiguya의 이미지

x86이 아닌, 다른 플렛폼에서 memory leak을 reporting할 수 있는 프로그램 혹은 library를 찾습니다.
저는 주로 ARM이나, MIPS CPU 기반의 보드를 개발합니다. 보통 Seg fault는 그런데로 잡겠는데, leak은 해결하려면 여간 까다로운 것이 아닙니다.

게시판을 보니, efence나 valgrind, dmalloc 같은것을 주로 얘기하시는데요... 제가 보기엔 x86용인것 같습니다.

혹시 ARM 이나 MIPS 기반 linux 에서 memory leak을 알수 있는 툴이 없을까요?

특히 저는 개발 속도때문에 C++를 많이 사용합니다. 단지 malloc 뿐 아니라, new/delete 관련된 것도 leak을 알려주는 툴이면 더욱 좋겠네요...

부탁합니다...

pynoos의 이미지

LD_PRELOAD 가 지원되는 환경이면 (man ld.so) http://www.andreasen.org/LeakTracer/
를 사용해보세요.

cbycby의 이미지

ulsiguya wrote:
x86이 아닌, 다른 플렛폼에서 memory leak을 reporting할 수 있는 프로그램 혹은 library를 찾습니다.
저는 주로 ARM이나, MIPS CPU 기반의 보드를 개발합니다. 보통 Seg fault는 그런데로 잡겠는데, leak은 해결하려면 여간 까다로운 것이 아닙니다.

게시판을 보니, efence나 valgrind, dmalloc 같은것을 주로 얘기하시는데요... 제가 보기엔 x86용인것 같습니다.

혹시 ARM 이나 MIPS 기반 linux 에서 memory leak을 알수 있는 툴이 없을까요?

특히 저는 개발 속도때문에 C++를 많이 사용합니다. 단지 malloc 뿐 아니라, new/delete 관련된 것도 leak을 알려주는 툴이면 더욱 좋겠네요...

부탁합니다...

저도 님과 똑같은 상황에서 개발합니다.
말씀하시는 툴을 X86용을 크로스컴파일해서 타겟에서 직접 돌려봅니다.
저역시 C++을 주로 사용하고 있어서
LeakTracer를 사용합니다.
malloc/free 과 new/delete를 추적해 줍니다.

http://www.korone.net QT 커뮤니티 사이트

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.