Callable.entry_point_instructions()

Returns entry_point instructions of the function/modifier.

entry_point_instructions() → Instructions

The entry_point of a function is not a "real" instruction, but rather an abstract instruction representing the starting point of the function.

Example

from glider import *
def query():
  functions = Functions().exec(100)

  entry_points = []
  for function in functions:
    for entry_point_instruction in function.entry_point_instructions().exec():
      # For each function, return entry points
      entry_points.append(entry_point_instruction)

  return entry_points

Example output

Last updated