nomagic

no, it is not magic !

User Tools

Site Tools


gdbs:cmd_lc_q_memtags

command qMemTags

Format: ‘qMemTags:start address,length:type’

Meaning: Fetch memory tags of type type from the address range [start address, start address + length). The target is responsible for calculating how many tags will be returned, as this is architecture-specific.

start address is the starting address of the memory range.

length is the length, in bytes, of the memory range.

type is the type of tag the request wants to fetch. The type is a signed integer.

ARM

  • type = 0: MTE logical tag
  • type = 1: MTE allocation tag

GDB will only send this packet if the stub has advertised support for memory tagging via ‘qSupported’.

Reply:

mxx…

Hex encoded sequence of uninterpreted bytes, xx…, representing the tags found in the requested memory range.

gdbs/cmd_lc_q_memtags.txt · Last modified: by lars