about summary refs log tree commit diff stats
path: root/miasm2/core/graph.py
diff options
context:
space:
mode:
authorFlorent Monjalet <florent.monjalet@gmail.com>2015-12-15 16:35:31 +0100
committerFlorent Monjalet <florent.monjalet@gmail.com>2016-01-18 14:02:32 +0100
commit03b3a84e0dd4d4d01b471f1767d4aec68b9a90ad (patch)
tree55d0116b6f64987ad09c5ce580bc069c5ce060c3 /miasm2/core/graph.py
parent0379f8e91fa54fe641948f01bb98a76fab47033a (diff)
downloadmiasm-03b3a84e0dd4d4d01b471f1767d4aec68b9a90ad.tar.gz
miasm-03b3a84e0dd4d4d01b471f1767d4aec68b9a90ad.zip
Types: Support anonymous Struct/Union/BitField
See the test addition for an example. A Struct, Union, or BitField field
with no name will be considered anonymous: all its fields will be added
to the parent Struct/Union/BitField. This implements this kind of C
declaration:

struct foo {
    int a;
    union {
        int bar;
        struct {
            short baz;
            short foz;
        };
    };
}
Diffstat (limited to 'miasm2/core/graph.py')
0 files changed, 0 insertions, 0 deletions