Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to obtain function parameters from stack frames? #3

Open
yinggang-gao opened this issue Jun 16, 2021 · 3 comments
Open

How to obtain function parameters from stack frames? #3

yinggang-gao opened this issue Jun 16, 2021 · 3 comments

Comments

@yinggang-gao
Copy link

yinggang-gao commented Jun 16, 2021

Whatever I configure Frame Pointer Unwinder or ORC Unwinder on my x86_64 machine, I can only get the same "......" string by the fp command. Could you show me the reason? Or tell me what I didn't notice?

@k-hagio
Copy link
Contributor

k-hagio commented Jun 18, 2021

You are talking about the fp.c extension module, right?
https://crash-utility.github.io/extensions.html#FP

Then please ask the author about it. This crash-extensions page is just a storage space for crash extension modules, most of the authors don't watch GitHub issues here.

@yinggang-gao
Copy link
Author

You are talking about the fp.c extension module, right?
https://crash-utility.github.io/extensions.html#FP

Then please ask the author about it. This crash-extensions page is just a storage space for crash extension modules, most of the authors don't watch GitHub issues here.

Thank you!

@sandeepmvd
Copy link

sandeepmvd commented Jul 6, 2021

@LoserAndSeeker
Were you able to get the function parameters?
I managed to build 7.1.5 fp extension. But when i do fp, it does not show any parameters.

help fp also does not show any useful information

---- Edit ----
A quick look at the code, it is looking for registers. so when i tried on the crashing process, then it works..
So, may be it works only when there is register dump available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants