Get a list of all variables of a specific function.