├── .github └── workflows │ ├── release.yml │ └── tests.yml ├── .gitignore ├── .readthedocs.yaml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── changelog.txt ├── cstruct ├── __init__.py ├── abstract.py ├── base.py ├── c_expr.py ├── c_parser.py ├── cenum.py ├── cstruct.py ├── exceptions.py ├── field.py ├── mem_cstruct.py └── native_types.py ├── docker └── i386 │ ├── Dockerfile │ └── Makefile ├── docs ├── CODE_OF_CONDUCT.md ├── api │ ├── abstract.md │ ├── base.md │ ├── c_expr.md │ ├── c_parser.md │ ├── cstruct.md │ ├── field.md │ ├── mem_cstruct.md │ ├── module.md │ └── native_types.md ├── changelog.md ├── examples │ ├── dir.md │ ├── fdisk.md │ ├── flexible_array.md │ └── who.md ├── index.md └── license.md ├── examples ├── __init__.py ├── dir.c ├── dir.py ├── dir.sh ├── fdisk.py ├── fdisk.sh ├── flexible_array.py ├── flexible_array.sh ├── who.py └── who.sh ├── mbr ├── mkdocs.yml ├── pyproject.toml ├── pytest.ini ├── requirements-dev.txt ├── requirements.txt ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── test_alignment.py ├── test_c_expr.py ├── test_cenum.py ├── test_cstruct.py ├── test_cstruct_var.py ├── test_define.py ├── test_flexible_array.py ├── test_get_type.py ├── test_memcstruct.py ├── test_native_types.py ├── test_nested.py ├── test_padding.py ├── test_pickle.py ├── test_typdef.py └── test_union.py └── utmp /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/README.md -------------------------------------------------------------------------------- /changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/changelog.txt -------------------------------------------------------------------------------- /cstruct/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/__init__.py -------------------------------------------------------------------------------- /cstruct/abstract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/abstract.py -------------------------------------------------------------------------------- /cstruct/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/base.py -------------------------------------------------------------------------------- /cstruct/c_expr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/c_expr.py -------------------------------------------------------------------------------- /cstruct/c_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/c_parser.py -------------------------------------------------------------------------------- /cstruct/cenum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/cenum.py -------------------------------------------------------------------------------- /cstruct/cstruct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/cstruct.py -------------------------------------------------------------------------------- /cstruct/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/exceptions.py -------------------------------------------------------------------------------- /cstruct/field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/field.py -------------------------------------------------------------------------------- /cstruct/mem_cstruct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/mem_cstruct.py -------------------------------------------------------------------------------- /cstruct/native_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/cstruct/native_types.py -------------------------------------------------------------------------------- /docker/i386/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docker/i386/Dockerfile -------------------------------------------------------------------------------- /docker/i386/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docker/i386/Makefile -------------------------------------------------------------------------------- /docs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | {!CODE_OF_CONDUCT.md!} 2 | -------------------------------------------------------------------------------- /docs/api/abstract.md: -------------------------------------------------------------------------------- 1 | ::: cstruct.abstract 2 | -------------------------------------------------------------------------------- /docs/api/base.md: -------------------------------------------------------------------------------- 1 | ::: cstruct.base 2 | -------------------------------------------------------------------------------- /docs/api/c_expr.md: -------------------------------------------------------------------------------- 1 | ::: cstruct.c_expr 2 | -------------------------------------------------------------------------------- /docs/api/c_parser.md: -------------------------------------------------------------------------------- 1 | ::: cstruct.c_parser 2 | -------------------------------------------------------------------------------- /docs/api/cstruct.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docs/api/cstruct.md -------------------------------------------------------------------------------- /docs/api/field.md: -------------------------------------------------------------------------------- 1 | ::: cstruct.field 2 | -------------------------------------------------------------------------------- /docs/api/mem_cstruct.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docs/api/mem_cstruct.md -------------------------------------------------------------------------------- /docs/api/module.md: -------------------------------------------------------------------------------- 1 | ::: cstruct 2 | -------------------------------------------------------------------------------- /docs/api/native_types.md: -------------------------------------------------------------------------------- 1 | ::: cstruct.native_types 2 | -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- 1 | {!changelog.txt!} 2 | -------------------------------------------------------------------------------- /docs/examples/dir.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docs/examples/dir.md -------------------------------------------------------------------------------- /docs/examples/fdisk.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docs/examples/fdisk.md -------------------------------------------------------------------------------- /docs/examples/flexible_array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docs/examples/flexible_array.md -------------------------------------------------------------------------------- /docs/examples/who.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/docs/examples/who.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | {!README.md!} 2 | -------------------------------------------------------------------------------- /docs/license.md: -------------------------------------------------------------------------------- 1 | {!LICENSE!} 2 | -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | -------------------------------------------------------------------------------- /examples/dir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/dir.c -------------------------------------------------------------------------------- /examples/dir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/dir.py -------------------------------------------------------------------------------- /examples/dir.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/dir.sh -------------------------------------------------------------------------------- /examples/fdisk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/fdisk.py -------------------------------------------------------------------------------- /examples/fdisk.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/fdisk.sh -------------------------------------------------------------------------------- /examples/flexible_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/flexible_array.py -------------------------------------------------------------------------------- /examples/flexible_array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/flexible_array.sh -------------------------------------------------------------------------------- /examples/who.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/who.py -------------------------------------------------------------------------------- /examples/who.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/examples/who.sh -------------------------------------------------------------------------------- /mbr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/mbr -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_alignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_alignment.py -------------------------------------------------------------------------------- /tests/test_c_expr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_c_expr.py -------------------------------------------------------------------------------- /tests/test_cenum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_cenum.py -------------------------------------------------------------------------------- /tests/test_cstruct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_cstruct.py -------------------------------------------------------------------------------- /tests/test_cstruct_var.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_cstruct_var.py -------------------------------------------------------------------------------- /tests/test_define.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_define.py -------------------------------------------------------------------------------- /tests/test_flexible_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_flexible_array.py -------------------------------------------------------------------------------- /tests/test_get_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_get_type.py -------------------------------------------------------------------------------- /tests/test_memcstruct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_memcstruct.py -------------------------------------------------------------------------------- /tests/test_native_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_native_types.py -------------------------------------------------------------------------------- /tests/test_nested.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_nested.py -------------------------------------------------------------------------------- /tests/test_padding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_padding.py -------------------------------------------------------------------------------- /tests/test_pickle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_pickle.py -------------------------------------------------------------------------------- /tests/test_typdef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_typdef.py -------------------------------------------------------------------------------- /tests/test_union.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/tests/test_union.py -------------------------------------------------------------------------------- /utmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreax79/python-cstruct/HEAD/utmp --------------------------------------------------------------------------------