This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" convKDdef | |
convKDdef takes a file of KD/WinDBG "Define Type" (dt) command output | |
and tries to convert them to C structs. | |
It uses a two pass approch to parse and resolv all dependencies. After | |
reading the file content and parsing it to Type() objects the | |
Types().parse() function gets calls to invoke the two pass algo: |
NewerOlder