├── .gitignore ├── .gitmodules ├── CMock ├── .gitignore ├── __init__.py └── helpers.py ├── CTypeGen.cpp ├── CTypeGen ├── __init__.py └── expression.py ├── CTypeGenRun.py ├── LICENSE ├── Makefile ├── README.md ├── cmock.cpp ├── ctypegen ├── dbghelper.c ├── generateLibc.py ├── setup.py ├── test ├── .gitignore ├── BitfieldTorture.c ├── BitfieldTortureGen.py ├── CTypeGenSanity.py ├── CTypeSanity.cpp ├── CTypeSanityC.c ├── ChainTest.c ├── ChainTest.py ├── ChainTestExtern.c ├── Demand.cpp ├── EnumTest.cpp ├── EnumTest.py ├── FOpenTest.c ├── FilterGenTest.py ├── FilterTest.c ├── GreedyTest.c ├── GreedyTestCpp.cpp ├── GreedyTestGen.py ├── Makefile ├── MockTest.cpp ├── MockTest.py ├── MockTestExtern.cpp ├── PointersTest.py ├── PreMockTest.c ├── PreMockTest.py ├── PreMockTestExtern.c ├── Supply.cpp ├── Supply.h ├── SupplyDemandGen.py ├── TextRelocTest.py ├── macrosanity.h ├── test_thunk.c └── textRelocs.c ├── thunk-aarch64.s ├── thunk-i386.s └── thunk-x86_64.s /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMock/.gitignore: -------------------------------------------------------------------------------- 1 | libc.py 2 | -------------------------------------------------------------------------------- /CMock/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/CMock/__init__.py -------------------------------------------------------------------------------- /CMock/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/CMock/helpers.py -------------------------------------------------------------------------------- /CTypeGen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/CTypeGen.cpp -------------------------------------------------------------------------------- /CTypeGen/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/CTypeGen/__init__.py -------------------------------------------------------------------------------- /CTypeGen/expression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/CTypeGen/expression.py -------------------------------------------------------------------------------- /CTypeGenRun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/CTypeGenRun.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/README.md -------------------------------------------------------------------------------- /cmock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/cmock.cpp -------------------------------------------------------------------------------- /ctypegen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/ctypegen -------------------------------------------------------------------------------- /dbghelper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/dbghelper.c -------------------------------------------------------------------------------- /generateLibc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/generateLibc.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/setup.py -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/.gitignore -------------------------------------------------------------------------------- /test/BitfieldTorture.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/BitfieldTorture.c -------------------------------------------------------------------------------- /test/BitfieldTortureGen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/BitfieldTortureGen.py -------------------------------------------------------------------------------- /test/CTypeGenSanity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/CTypeGenSanity.py -------------------------------------------------------------------------------- /test/CTypeSanity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/CTypeSanity.cpp -------------------------------------------------------------------------------- /test/CTypeSanityC.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/CTypeSanityC.c -------------------------------------------------------------------------------- /test/ChainTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/ChainTest.c -------------------------------------------------------------------------------- /test/ChainTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/ChainTest.py -------------------------------------------------------------------------------- /test/ChainTestExtern.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/ChainTestExtern.c -------------------------------------------------------------------------------- /test/Demand.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/Demand.cpp -------------------------------------------------------------------------------- /test/EnumTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/EnumTest.cpp -------------------------------------------------------------------------------- /test/EnumTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/EnumTest.py -------------------------------------------------------------------------------- /test/FOpenTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/FOpenTest.c -------------------------------------------------------------------------------- /test/FilterGenTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/FilterGenTest.py -------------------------------------------------------------------------------- /test/FilterTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/FilterTest.c -------------------------------------------------------------------------------- /test/GreedyTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/GreedyTest.c -------------------------------------------------------------------------------- /test/GreedyTestCpp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/GreedyTestCpp.cpp -------------------------------------------------------------------------------- /test/GreedyTestGen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/GreedyTestGen.py -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/MockTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/MockTest.cpp -------------------------------------------------------------------------------- /test/MockTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/MockTest.py -------------------------------------------------------------------------------- /test/MockTestExtern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/MockTestExtern.cpp -------------------------------------------------------------------------------- /test/PointersTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/PointersTest.py -------------------------------------------------------------------------------- /test/PreMockTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/PreMockTest.c -------------------------------------------------------------------------------- /test/PreMockTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/PreMockTest.py -------------------------------------------------------------------------------- /test/PreMockTestExtern.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/PreMockTestExtern.c -------------------------------------------------------------------------------- /test/Supply.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/Supply.cpp -------------------------------------------------------------------------------- /test/Supply.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/Supply.h -------------------------------------------------------------------------------- /test/SupplyDemandGen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/SupplyDemandGen.py -------------------------------------------------------------------------------- /test/TextRelocTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/TextRelocTest.py -------------------------------------------------------------------------------- /test/macrosanity.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/macrosanity.h -------------------------------------------------------------------------------- /test/test_thunk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/test_thunk.c -------------------------------------------------------------------------------- /test/textRelocs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/test/textRelocs.c -------------------------------------------------------------------------------- /thunk-aarch64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/thunk-aarch64.s -------------------------------------------------------------------------------- /thunk-i386.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/thunk-i386.s -------------------------------------------------------------------------------- /thunk-x86_64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aristanetworks/ctypegen/HEAD/thunk-x86_64.s --------------------------------------------------------------------------------