From 31fe085549c845bc9b29b978389410f776b7b942 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Fri, 1 Dec 2023 09:23:23 -0500 Subject: [PATCH] Address https://github.com/wala/ML/pull/108#discussion_r1411398941. --- .../ipa/callgraph/PythonTrampolineTargetSelector.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java index ec1dbb41f..2fdccbef2 100644 --- a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java +++ b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java @@ -42,6 +42,12 @@ public class PythonTrampolineTargetSelector implements MethodTargetSelector { + /** + * The method name that is used for Python callables. + * + * @see Python + * documentation. + */ private static final String CALLABLE_METHOD_NAME = "__call__"; private final MethodTargetSelector base;