summaryrefslogtreecommitdiffstats
path: root/queries/objdump/highlights.scm
blob: d23f5a0d92c42585cb995669f325976bcd605b3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(byte) @constant

[
  (hexadecimal)
  (integer)
  (address)
] @number

[
  "file" "format"
  "File" "Offset:"
  "discriminator"
] @text
"Disassembly of section " @text.title

(section_address) @number @text.underline

(identifier) @variable
(code_location (identifier) @function.call)
(header (identifier) @keyword)
(disassembly_section_label (identifier) @namespace)
(disassembly_section (identifier) @namespace)

[(file_offset) (discriminator)] @field

(file_path) @string
(instruction) @function
(bad_instruction) @text.warning
(label) @label

["<" ">"] @punctuation.special
["(" ")"] @punctuation.bracket
["+" ":"] @punctuation.delimiter

(comment) @comment.documentation