Skip to content

Instantly share code, notes, and snippets.

#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.9.201 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_DEBUG_RODATA=y
CONFIG_ARM64_PAGE_SHIFT=12
@roppinhoppin
roppinhoppin / lreader.py
Created August 25, 2017 12:26
A tool to give us literacy of TCompactProtocol
# Input file must be a binary file (I recommend to use op_to_bin.py to convert int sequence to binary)
# This code partly uses the original thrift code. https://github.com/apache/thrift/blob/master/LICENSE
# This tool is made for easily understanding the complex TCompactProtocol format.
# Because of my laziness and LINE barely using, there're no implementations of MAP and LIST.
# How to use
# ./lreader.py output.bin
#!/usr/bin/env python