This pull request updates the BPF lexer to highlight several constructs and keywords that were either missed in the initial lexer or were recently added to BPF:
The s8, s16, s32, and s64 type keywords.
The call helper_name syntax.
The existing le16, le32, le64 and the new bswap16, bswap32, bswap64 keywords.
This pull request updates the BPF lexer to highlight several constructs and keywords that were either missed in the initial lexer or were recently added to BPF:
s8
,s16
,s32
, ands64
type keywords.call helper_name
syntax.le16
,le32
,le64
and the newbswap16
,bswap32
,bswap64
keywords.-0xa5
syntax for negative hexadecimal.goto 0x1234 <label>
syntax for jumps.gotol
keyword for long jumps.All come with visual examples.