MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / append

Method append

python/binaryview.py:1522–1542  ·  view source on GitHub ↗

Append a segment descriptor to the list. :param int start: The start address of the segment. :param int length: The length of the segment. :param int data_offset: The offset of the data within the segment. :param int data_length: The length of the data within the segment. :param Segmen

(self, start: int, length: int, data_offset: int = 0, data_length: int = 0,
				flags: 'SegmentFlag' = SegmentFlag.SegmentReadable, auto_defined: bool = True)

Source from the content-addressed store, hash-verified

1520 self.image_base = image_base
1521
1522 def append(self, start: int, length: int, data_offset: int = 0, data_length: int = 0,
1523 flags: 'SegmentFlag' = SegmentFlag.SegmentReadable, auto_defined: bool = True):
1524 """
1525 Append a segment descriptor to the list.
1526
1527 :param int start: The start address of the segment.
1528 :param int length: The length of the segment.
1529 :param int data_offset: The offset of the data within the segment.
1530 :param int data_length: The length of the data within the segment.
1531 :param SegmentFlag flags: The flags of the segment.
1532 :param bool auto_defined: Whether the segment is auto-defined.
1533 """
1534 segment_info = {
1535 "start": start - self.image_base,
1536 "length": length,
1537 "data_offset": data_offset,
1538 "data_length": data_length,
1539 "flags": flags,
1540 "auto_defined": auto_defined
1541 }
1542 super().append(segment_info)
1543
1544
1545class Section:

Callers 15

serializeMethod · 0.45
serializeMethod · 0.45
appendMethod · 0.45
_build_symbol_cacheMethod · 0.45
__getitem__Method · 0.45
__iter__Method · 0.45
entry_functionsMethod · 0.45
namespacesMethod · 0.45
available_view_typesMethod · 0.45
analysis_infoMethod · 0.45
type_namesMethod · 0.45
type_librariesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected