Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

when exe have strip unw_get_proc_name get the function name is wrong

Open
#820 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

The entry point is unw_get_proc_name, which resolves symbol names for stack frames, and the failing case is a static function in a stripped x86 executable. Reproduce with a small program built with static functions and then stripped, and confirm which name comes back. The issue leaves open whether the fix should return an error or a NULL name, so settle that with maintainers first. Done means a stripped binary yields an error or NULL instead of a wrong name, with a test that covers it.

Written by the indexing model from the issue text.

Description

bug

Environment

  • libunwind version:
  • architecture:
  • OS:X86

Description
A clear and concise description of what the bug is.

i define a static function ,and the exe is stripped, unw_get_proc_name get the function name is wrong, if cannot get the name, unw_get_proc_name should is return error or the name is null

Reproduction Steps
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
Dominant language
C
Stars
1.3k
Forks
353
Avg merge
3d 19h
Merged PRs (30d)
11

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libunwind/libunwind

All issues in libunwind/libunwind

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.