https://llvm.org/bugs/show_bug.cgi?id=24334
Bug ID: 24334 Summary: memory find documentation incorrect Product: lldb Version: 3.3 Hardware: Macintosh OS: All Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@cs.uiuc.edu Reporter: gnach...@gmail.com Classification: Unclassified If you run "help memory find" it incorrectly states that it takes this: memory find <address> <value> [<value> [...]] As a matter of fact, the first argument is the start address to search. The send is the end of the range. Additional arguments are not accepted (if there are not exactly two arguments, it fails). Finally, passing it an expression doesn't seem to work; or if it does, the correct syntax cannot be inferred from the documentation. (lldb) memory find 0x100000000 0x10000e000 -e "(void*)0x00007fff9145e965" error: expression evaluation failed. pass a string instead? (lldb) memory find 0x100000000 0x10000e000 -e "(void*)0x7fff9145e965" error: expression evaluation failed. pass a string instead? (lldb) memory find 0x100000000 0x10000e000 -e (void*)0x7fff9145e965 error: expression evaluation failed. pass a string instead? (lldb) memory find 0x100000000 0x10000e000 -e (void*)0x7fff9145e965 error: expression evaluation failed. pass a string instead? (lldb) memory find 0x100000000 0x10000e000 -e "isDirty" error: do not know how to deal with larger than 8 byte result types. pass a string instead (lldb) memory find 0x100000000 0x10000e000 -e "i" error: do not know how to deal with larger than 8 byte result types. pass a string instead (lldb) memory find 0x100000000 0x10000e000 -e "(char*)i" error: do not know how to deal with larger than 8 byte result types. pass a string instead (lldb) memory find 0x100000000 0x10000e000 -e 1 error: expression evaluation failed. pass a string instead? (lldb) memory find 0x100000000 0x10000e000 -e x=1 error: do not know how to deal with larger than 8 byte result types. pass a string instead -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev