• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
lldb "memory find -e" not working ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lldb "memory find -e" not working ?


  • Subject: lldb "memory find -e" not working ?
  • From: Paul Russell <email@hidden>
  • Date: Tue, 13 Oct 2015 11:28:58 +0100

I cant seem to get lldb’s “memory find” command to work with the -e option.

I've found that the -s option can be made to work, e.g. like this:

(lldb) me fi -s "f" -- ptr ptr+8192*256
Your data was found at location: 0x11033e20c
0x11033e20c: 66 bb 58 07 d0 b7 32 7d ff 7f 00 00 66 5b e7 82  f.X...2}....f[..

But it looks like the -e option (which is what I need in this instance) is broken, e.g.:

(lldb) me fi -e 255 -- ptr ptr+8191*256
error: _expression_ evaluation failed. pass a string instead?

Trying to coax the -s option into accepting an escaped hex or decimal value doesn't seem to work either, unfortunately:

(lldb) me fi -s "\xff" -- ptr ptr+8191*256
Your data was not found within the range.

(lldb) me fi -s "\255" -- ptr ptr+8191*256
Your data was not found within the range.

Am I missing something in the way I’m trying to use the -e option ?

Paul

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: lldb "memory find -e" not working ?
      • From: Paul Russell <email@hidden>
  • Prev by Date: 'Back button' title for navigation item not sticking
  • Next by Date: Re: 'Back button' title for navigation item not sticking
  • Previous by thread: Re: 'Back button' title for navigation item not sticking
  • Next by thread: Re: lldb "memory find -e" not working ?
  • Index(es):
    • Date
    • Thread