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

Method add_auto_segment

python/binaryview.py:9478–9484  ·  view source on GitHub ↗

``add_auto_segment`` Adds an analysis segment that specifies how data from the raw file is mapped into a virtual address space Note that the segments added may have different size attributes than requested

(self, start: int, length: int, data_offset: int, data_length: int, flags: SegmentFlag)

Source from the content-addressed store, hash-verified

9476
9477
9478 def add_auto_segment(self, start: int, length: int, data_offset: int, data_length: int, flags: SegmentFlag) -> None:
9479 """
9480 ``add_auto_segment`` Adds an analysis segment that specifies how data from the raw file is mapped into a virtual address space
9481
9482 Note that the segments added may have different size attributes than requested
9483 """
9484 core.BNAddAutoSegment(self.handle, start, length, data_offset, data_length, flags)
9485
9486 def add_auto_segments(self, segments: List[core.BNSegmentInfo]) -> None:
9487 """

Callers 5

initMethod · 0.80
init_arm9Method · 0.80
init_arm7Method · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected