foundryzero / binder-trace

Binder Trace is a tool for intercepting and parsing Android Binder messages. Think of it as "Wireshark for Binder".
MIT License
560 stars 54 forks source link

Structs information #38

Closed wss-14 closed 1 month ago

wss-14 commented 1 month ago

How can I find\get structs information of a specific mobile phone?

sam-f0 commented 1 month ago

Structs are generated from the AOSP source code - we are currently unable to generate struct information for mobile device manufacturer specific changes to their ROMs where source code is not published.

wss-14 commented 1 month ago

If I get the source code, how can I generate such structs? Any tools exists? Thanks so much

sam-f0 commented 1 month ago

Some more information on the struct format can be found https://github.com/foundryzero/binder-trace/blob/main/STRUCTURES.md

There are no current plans for the release of a tool to generate them, sorry.