[Lldb-commits] [PATCH] Delete ScriptInterpreterObject
Zachary Turner
zturner at google.com
Mon Mar 16 16:31:49 PDT 2015
In http://reviews.llvm.org/D8128#141677, @clayborg wrote:
> Which strings have embedded NULLs??? I don't see any.
It's the calls to struct.pack() in get_register_data(). For example, this line:
struct.pack('21Q',1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21)
says "there are 21 items of type Q following, where Q means uint64. Format them as such and return the result as a string". So you get a bunch of 0s in the resulting string.
http://reviews.llvm.org/D8128
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list