{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/3726","labels_url":"https://api.github.com/repos/radare/radare2/issues/3726/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/3726/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/3726/events","html_url":"https://github.com/radare/radare2/issues/3726","id":118208074,"number":3726,"title":"OAT File Format","user":{"login":"ninjahacker","id":11780234,"avatar_url":"https://avatars.githubusercontent.com/u/11780234?v=3","gravatar_id":"","url":"https://api.github.com/users/ninjahacker","html_url":"https://github.com/ninjahacker","followers_url":"https://api.github.com/users/ninjahacker/followers","following_url":"https://api.github.com/users/ninjahacker/following{/other_user}","gists_url":"https://api.github.com/users/ninjahacker/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjahacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjahacker/subscriptions","organizations_url":"https://api.github.com/users/ninjahacker/orgs","repos_url":"https://api.github.com/users/ninjahacker/repos","events_url":"https://api.github.com/users/ninjahacker/events{/privacy}","received_events_url":"https://api.github.com/users/ninjahacker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-21T16:57:34Z","updated_at":"2015-11-22T16:43:29Z","closed_at":null,"body":"The Android Runtime (ART) uses a new file format called OAT. I don't think r2 handles this very well. They look almost identical to ELF files (okay, they are ELF files...). In the example, you can see the header at 0x1000.\r\n\r\nhttps://www.dropbox.com/s/r9wto0xw1jyf6i9/LGBluetooth4.odex?dl=0"},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/158776875","html_url":"https://github.com/radare/radare2/issues/3726#issuecomment-158776875","issue_url":"https://api.github.com/repos/radare/radare2/issues/3726","id":158776875,"user":{"login":"ninjahacker","id":11780234,"avatar_url":"https://avatars.githubusercontent.com/u/11780234?v=3","gravatar_id":"","url":"https://api.github.com/users/ninjahacker","html_url":"https://github.com/ninjahacker","followers_url":"https://api.github.com/users/ninjahacker/followers","following_url":"https://api.github.com/users/ninjahacker/following{/other_user}","gists_url":"https://api.github.com/users/ninjahacker/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjahacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjahacker/subscriptions","organizations_url":"https://api.github.com/users/ninjahacker/orgs","repos_url":"https://api.github.com/users/ninjahacker/repos","events_url":"https://api.github.com/users/ninjahacker/events{/privacy}","received_events_url":"https://api.github.com/users/ninjahacker/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T16:43:29Z","updated_at":"2015-11-22T16:43:29Z","body":"odex != odex on Android 5. I really encourage you to look at the file. I think you'll be surprised. They are all like this now.\r\nAndroid 4 and earlier, odex = optimized dex\r\nAndroid 5 and later (on ART runtime), odex = oat, art = art, and they are different file formats."}}