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

Searching with / skips the current map when io.maps is configured #14403

Closed
rlaemmert opened this issue Jun 23, 2019 · 0 comments · Fixed by #14405
Closed

Searching with / skips the current map when io.maps is configured #14403

rlaemmert opened this issue Jun 23, 2019 · 0 comments · Fixed by #14405
Milestone

Comments

@rlaemmert
Copy link
Contributor

This template is meant for bug reports, if you have a feature request, please be as descriptive as possible and delete the template

Make sure you are testing using the latest git version of radare2 before submitting any issue.

If you would like to report a bug, please fill the template below

Work environment

Questions Answers
OS/arch/bits (mandatory) Voidlinux 86_64
File format of the file you reverse (mandatory) PE
Architecture/bits of the file (mandatory) x86/32
r2 -v full output, not truncated (mandatory) radare2 3.6.0-git 22770 @ linux-x86-64 git.3.5.1-360-gc7296d600
commit: c7296d6 build: 2019-06-23__13:16:18

Expected behavior

If you search some hex value the current map should also be searched
if search.in is configured with io.maps

Actual behavior

The current map seems to be skipped for any search.

Steps to reproduce the behavior

  • Open a binary (just tested elf/pe yet)
  • 'px 1' to look at the first hex value
  • /x
  • the result doesnt contain the current spot

I also created a test for this:
https://github.com/radare/radare2-regressions/commit/5d28ecc40bb8766e07c042de8f5d997d1e0ec633

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants