sheetjs/packages/otorp
2023-01-06 02:37:53 -05:00
..
src phasing out patterns with side effects 2022-03-14 02:51:33 -04:00
.eslintrc very basic numbers iwa parser 2022-01-28 21:54:11 -05:00
dump_macho_proto_defs.node.js very basic numbers iwa parser 2022-01-28 21:54:11 -05:00
dump_macho_proto_defs.node.ts very basic numbers iwa parser 2022-01-28 21:54:11 -05:00
index.node.js phasing out patterns with side effects 2022-03-14 02:51:33 -04:00
index.node.ts very basic numbers iwa parser 2022-01-28 21:54:11 -05:00
LICENSE very basic numbers iwa parser 2022-01-28 21:54:11 -05:00
Makefile refresh browser tests 2022-05-17 17:48:05 -04:00
otorp.ts denoized otorp [ci skip] 2023-01-06 02:37:53 -05:00
package.json arithmancy 2022-01-31 06:41:23 -05:00
README.md very basic numbers iwa parser 2022-01-28 21:54:11 -05:00

otorp

Recover Protocol Buffer v2 definitions from a Mach-O binary.

Usage

$ npx otorp /path/to/macho/binary        # print all discovered defs to stdout
$ npx otorp /path/to/macho/binary out/   # write each discovered def to a file

This library and the embedded otorp CLI tool make the following assumptions:

  • In a serialized FileDescriptorProto, the name field appears first.

  • The name does not exceed 127 bytes in length.

  • The name always ends in ".proto".

  • There is at least one simple reference to the start of the definition.

License

Please consult the attached LICENSE file for details. All rights not explicitly granted by the Apache 2.0 license are reserved by the Original Author.

Analytics