Skip to content

Creating new built‐in functions

Raffi Khatchadourian edited this page Mar 6, 2024 · 1 revision
  1. Remove the function from the com.ibm.wala.cast.python.parser.AbstractParser.defaultImportNames array. If it exists here and you don't remove it, nothing will happen when you add the summary (see below).
  2. Add it to com.ibm.wala.cast.python.ipa.summaries.BuiltinFunctions.builtinFunctions map. That will create an IR for method so as long as it's not a "default import" (see above).
Clone this wiki locally