ghidra/Ghidra/Processors/BPF/data/languages/BPF.cspec
Heurs b0716c7a29 New processor for BPF bytecode
delete and rename after review
2023-01-24 17:12:08 +01:00

45 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<compiler_spec>
<data_organization>
<absolute_max_alignment value="0" />
<machine_alignment value="2" />
<default_alignment value="1" />
<default_pointer_alignment value="8" />
<pointer_size value="8" />
<wchar_size value="2" />
<short_size value="2" />
<integer_size value="4" />
<long_size value="4" />
<long_long_size value="8" />
<float_size value="4" />
<double_size value="8" />
<long_double_size value="8" />
<size_alignment_map>
<entry size="1" alignment="1" />
<entry size="2" alignment="2" />
<entry size="4" alignment="4" />
<entry size="8" alignment="8" />
</size_alignment_map>
</data_organization>
<global>
<range space="packet"/>
<range space="ram"/>
<range space="mem"/>
</global>
<stackpointer register="RS" space="ram"/>
<default_proto>
<prototype name="__fastcall" extrapop="0" stackshift="0">
<input>
<pentry minsize="1" maxsize="4">
<register name="A"/>
</pentry>
</input>
<output killedbycall="true">
<pentry minsize="1" maxsize="4">
<register name="R"/>
</pentry>
</output>
</prototype>
</default_proto>
</compiler_spec>