when exe have strip unw_get_proc_name get the function name is wrong
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
- Domain
- operating-systems
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
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:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libunwind/libunwind
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 4 days
-
build fails on muslOpenbug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Maintainers usually reply within 4 days
-
v1.8.3 not taggedOpenbug
Difficulty 1/5 Under an hour Newbie friendliness 55/100
libunwind/libunwind#1076 · 1 comment ·
Maintainers usually reply within 4 days
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 4 days
-
New release?Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 12/100
libunwind/libunwind#1030 · 7 comments ·
Maintainers usually reply within 4 days
All issues in libunwind/libunwind
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
msys2/MINGW-packages#33004 ·
Maintainers usually reply within 1 day
-
area:buffer good first issue type:documentation
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sudo-project/sudo#586 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
OpenPrinting/cups#1795 ·
Maintainers usually reply within 1 day