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

Fix shellcode customization #16384

Merged
merged 3 commits into from
Apr 8, 2020
Merged

Fix shellcode customization #16384

merged 3 commits into from
Apr 8, 2020

Conversation

frederictobiasc
Copy link
Contributor

@frederictobiasc frederictobiasc commented Mar 31, 2020

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've added tests that prove my fix is effective or that my feature works (if possible)
  • I've updated the documentation and the radare2 book with the relevant information (if needed)

Detailed description

Currently, shellcode customization is not implemented for all architectures. This pull request implements this functionality for x86-64. I will add the test and further architectures in another pull request.

Test plan

Closing issues

closes #14648

@github-actions github-actions bot added the REgg label Mar 31, 2020
Copy link
Collaborator

@radare radare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add space before every ( and around =

@radare radare added this to the 4.4.0 - pangolin milestone Apr 1, 2020
@radare
Copy link
Collaborator

radare commented Apr 1, 2020

please address comments, rebase and add test

libr/egg/p/egg_exec.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@radare radare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@radare
Copy link
Collaborator

radare commented Apr 5, 2020

Ping

@radare
Copy link
Collaborator

radare commented Apr 8, 2020

can you fix the indentation issues? i think we're good to merge this before adding support for the other archs

@radare
Copy link
Collaborator

radare commented Apr 8, 2020

otherwise ill move to 4.5 unless you ping back

@frederictobiasc frederictobiasc marked this pull request as ready for review April 8, 2020 12:53
@frederictobiasc
Copy link
Contributor Author

frederictobiasc commented Apr 8, 2020

Hey, please excuse my late reaction. I was offline in the past week. I'll open a new pull request for more architectures and the test.

@radare
Copy link
Collaborator

radare commented Apr 8, 2020

cool! thanks! and welcome back

Copy link
Collaborator

@radare radare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, do u want me to merge now or you'll submit the same thing for other archs?

@frederictobiasc
Copy link
Contributor Author

You may merge now. I'm currently preparing a proposal to refactor the shellcode compilation.

@radare radare merged commit 3563cc3 into radareorg:master Apr 8, 2020
Emi1305 pushed a commit to Emi1305/radare2 that referenced this pull request Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ragg2 issue with custom cmd parameter
2 participants