tecki / ebpfcat

A Python-base EBPF code generator
GNU General Public License v2.0
17 stars 5 forks source link

Access EL2088 with byte #11

Open jinyistudio534 opened 7 months ago

jinyistudio534 commented 7 months ago

they are OK to access by byte

class EL2088b(EBPFTerminal):
    compatibility = {(2, 0x08283052)}
    class Channel(Struct):   
        byte = ProcessDesc(0x7000, 1,'B')
    buffer = Channel(0)
class EL2088b(EBPFTerminal):
    compatibility = {(2, 0x08283052)}
    byte = ProcessDesc(0x7000, 1,'B')