-
Notifications
You must be signed in to change notification settings - Fork 101
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
Cannot handle empty <integer /> #49
Comments
So, this is a really curious case. Apple has a number of different XML property list parsers, and cases like this really show off their differences. I think the kernel one is closer to an actual XML parser. The CoreFoundation one, however, is not. That is most evident here: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<integer IDREF="2" />
</plist>
Unfortunately, they haven't really specified the format quite well enough for us to make a determination about what is correct. Is the prelink property list using a different DOCTYPE declaration than a standard XML property list? |
The plist embedded in the binary starts with a |
I'm trying to parse the
__PRELINK_INFO.__info
section on an iOS kernelcache and the embedded plist gives the above error.Here is a snippet.
I know this isn't valid plist/xml, but Apple seems to think it is?
Is there anything I/we can do?
Thanks!!
The text was updated successfully, but these errors were encountered: