We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In current implementation, hex_dump() displays the stack memory about the test args-none as below:
hex_dump()
args-none
bfffffd0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |................| bfffffe0 00 00 00 00 01 00 00 00-e8 ff ff bf f6 ff ff bf |................| bffffff0 00 00 00 00 00 00 61 72-67 73 2d 6e 6f 6e 65 00 |......args-none.|
But this is not correct since argv[0] is set by bfffffe8, not bfffffec (at bfffffe8).
argv[0]
bfffffe8
bfffffec
The text was updated successfully, but these errors were encountered:
[#45] Fix addr of first arg and not use memcpy
6ea5f42
Fix `push_args_on_stack()` to put address of the first argument (`argv[0]`) correctly. Change usages of memcpy to simple pointer assignments.
514f179
Fix `push_args_on_stack()` to put address of the first argument (`argv[0]`) correctly. Change usages of `memcpy()` to simple pointer assignments.
Merge pull request #46 from hangpark/iss/45
fd9af41
Done by PR #46.
Sorry, something went wrong.
hangpark
No branches or pull requests
In current implementation,
hex_dump()
displays the stack memory about the testargs-none
as below:But this is not correct since
argv[0]
is set bybfffffe8
, notbfffffec
(atbfffffe8
).The text was updated successfully, but these errors were encountered: