-
Notifications
You must be signed in to change notification settings - Fork 42
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
IDREF not supported #82
Comments
Please can you post the full .plist file that contins the snippet above. |
@ebarnard It's a prelinked kext info plist |
I've never seen that before. Apple have a test for it though: https://opensource.apple.com/source/IOKitUser/IOKitUser-376/IOCFSerializeTest.c.auto.html. Looks like fairly simple backreferences, so should be straightforward to implement in the XML parser. |
The tests from Apple contain: <key>key r1</key> <ref IDREF="1"/>
<key>key r2</key> <ref IDREF="2"/>
<key>key r3</key> <ref IDREF="3"/>
<key>key r4</key> <ref IDREF="4"/>
<key>key r5</key> <ref IDREF="5"/> Not this strange empty integer. Are you sure |
The plist is from Apple; like I said, it's a pre-linked kernel extension plist |
@ChefKissInc Thanks for confirming that. I had no idea what a |
Interestingly, using Apple's <?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">
<dict/>
</plist> This must be a plist format that is only supported by the MacOS kernel. What was used to create this plist as it contains some interesting comments: |
I think the references are XML plist specific |
If you run I just realised that
where line 377 contains There's some more information about this unusual plist format here. Among other things, these plists don't contain a plist header or footer and just start with a plain |
Maybe this is it? |
|
Encountered a plist that can't be parsed when
<integer />
exists in the file.Example:
The text was updated successfully, but these errors were encountered: