The function returns all the global variables, e.g. msg.sender, msg.value, tx.origin, ..., used inside the Value.
For the list of global variables, please refer to GlobalVariables.
Example
from glider import*defquery():# lets find _msgSender functions as there should be a msg.sender usage functions =Functions()\.with_name('_msgSender')\.exec(1)for function in functions:for instruction in function.instructions().exec():for operand in instruction.get_operands(): global_vars = operand.get_global_vars()iflen(global_vars)>0:print([x.expression for x in global_vars])return functions