GlobalPoint.get_variable()

Abstract method that returns object of variable

get_variable() → GlobalVariable

Query Example

from glider import *


def query():
    instructions = (
        Functions()
        .with_name("_msgSender")
        .exec(1)
        .instructions()
        .exec()
    )

    dfs = instructions.backward_df()
    for df in dfs:
      print(df.get_variable())
      print(df.source_code())

    return instructions

Example Output

Last updated