Functions.with_modifier_name()

with_modifier_name(name: str, sensitivity: bool = True) → Functions

Adds a filter to get functions that have a modifier with the given name.

Example

from glider import *

def query():
  
  # Fetch a list of functions with nonReentrant modifier
  functions = Functions().with_modifier_name('nonReentrant').exec(2)

  return functions

Output

Last updated