ExtendedAndroidTools
ExtendedAndroidTools copied to clipboard
Codegen generating deserializers and serializers for the JDWP commands
This PR addresses issue #57, creating command classes containing serializer and deserializer functions and grouped into a single file based on a command set.
I think I would break this task into the following PRs:
- Generate
NewTypes corresponding to values ofPrimitiveTypeenum. It will be a good idea to keep different kinds of ids distinct, pyre will help us not mix things up. - Generate dataclasses/NamedTuples corresponding to commands and resonses (only fields for now).
- Propose input stream and output stream interfaces
- For each command/response generate parse and serialize methods.