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

Simplify how nb_argument is calculated in print_guessed_arguments #755

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

hugsy
Copy link
Owner

@hugsy hugsy commented Nov 26, 2021

Description

This small PR simplifies a tiny block of code in print_guessed_arguments that seems to be resulting in some cases in an TypeError excetion as described in #753.

Fixes #753

How Has This Been Tested?

Architecture Yes/No Comments
x86-32 ✔️ Using make test
x86-64 ✔️
ARM ✖️
AARCH64 ✖️
MIPS ✖️
POWERPC ✖️
SPARC ✖️
RISC-V ✖️

Checklist

  • My PR was done against the dev branch, not master.
  • My code follows the code style of this project.
  • My change includes a change to the documentation, if required.
  • My change adds tests as appropriate.
  • I have read and agree to the CONTRIBUTING document.

gef.py Show resolved Hide resolved
@hugsy hugsy merged commit 04f847b into dev Dec 6, 2021
@hugsy hugsy deleted the 753_default_for_print_guessed_args branch December 6, 2021 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in context command: max() arg is an empty sequence
4 participants