MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / numSegments

Method numSegments

src/disassembler/IDA/ida_api.py:335–341  ·  view source on GitHub ↗

Return the number of the segments in the binary. Return Value: number of segments in the binary

(self)

Source from the content-addressed store, hash-verified

333
334 # Overridden base function
335 def numSegments(self):
336 """Return the number of the segments in the binary.
337
338 Return Value:
339 number of segments in the binary
340 """
341 return len(list(idautils.Segments()))
342
343 # Overridden base function
344 def segmentName(self, idx):

Callers 1

analyzeFileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected