implemented get-function-info.