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

Add exec magic command to the REPL #82

Merged
merged 2 commits into from
Feb 6, 2022
Merged

Conversation

yotamN
Copy link
Member

@yotamN yotamN commented Feb 2, 2022

Sometimes you want to execute a multiline script after you've already opened the REPL and you don't want to close it and lose all state. The exec command will let the user execute a file from the REPL while running, just like typing the code manually.

Again I'm basing this patch on the magics refactors so it won't cause too much conflicts

frida_tools/repl.py Outdated Show resolved Hide resolved
@yotamN yotamN force-pushed the feature/exec-magic branch 2 times, most recently from 8cf6740 to 994ec58 Compare February 6, 2022 06:00
@oleavr
Copy link
Member

oleavr commented Feb 6, 2022

Conflicts ⚔️

Sometimes you want to execute a multiline script after you've already
opened the REPL and you don't want to close it and lose all state. The
exec command will let the user execute a file from the REPL while
running, just like typing the code manually.
@yotamN
Copy link
Member Author

yotamN commented Feb 6, 2022

Rebased

frida_tools/_repl_magic.py Outdated Show resolved Hide resolved
@oleavr oleavr merged commit ea1fa18 into frida:main Feb 6, 2022
@oleavr
Copy link
Member

oleavr commented Feb 6, 2022

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants