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 view the arguments that are passed to a system call? #154

Open
oscper opened this issue Jun 18, 2020 · 0 comments
Open

How to view the arguments that are passed to a system call? #154

oscper opened this issue Jun 18, 2020 · 0 comments

Comments

@oscper
Copy link

oscper commented Jun 18, 2020

By default, when we debug a program inside GDB, it shows the registers, stack and code section as we step into the program. But I want to see the "arguments" section as well which contains the arguments that are passed to a specific system call. I have used the "dumpargs" command, but it didn't work.

What I am interested in is a separate section for "arguments" just like there is a section for registers, stack and code. I want to know what and how many arguments are passed to a specific system call.

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

1 participant