MCPcopy Create free account
hub / github.com/F-Stack/f-stack / string_value

Method string_value

dpdk/buildtools/pmdinfogen.py:29–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27
28 @property
29 def string_value(self):
30 size = self._symbol["st_size"]
31 value = self.get_value(0, size)
32 return coff.decode_asciiz(value) # not COFF-specific
33
34 def get_value(self, offset, size):
35 section = self._symbol["st_shndx"]

Callers

nothing calls this directly

Calls 1

get_valueMethod · 0.95

Tested by

no test coverage detected