Open bupt01 opened 4 weeks ago
I still encounter errors when running the experiment on Linux.
I have confirmed that the main function of the analyzed program is indeed here. Has anyone else encountered a similar issue?
Hi @bupt01 I don't have enough information to reproduce your issue. If you could create a standalone github repo and then a link to the benchmark that causes the problem I can take a look.
Thank you very much for your response. I have uploaded the source code causing the error to https://github.com/bupt01/log4j/tree/master.
Please give the exact commands I need to run after cloning the repo to reproduce the problem, thanks
Thank you very much! I have listed the reproduction steps in the README. This is a Maven project.
Thank you. Before I dig more, could you confirm you still see the problem with the latest WALA release, 1.6.5? Or is there some reason you cannot upgrade to that version?
Thank you, I'll try another version right away. I also wanted to ask if there's any issue with configuring the classpath for my driver program. legendary @.***
------------------ 原始邮件 ------------------ 发件人: "wala/WALA" @.>; 发送时间: 2024年7月14日(星期天) 凌晨1:36 @.>; @.**@.>; 主题: Re: [wala/WALA] Exception in thread "main" java.lang.IllegalStateException: Could not create a entrypoint callsites: (Issue #1416)
Thank you. Before I dig more, could you confirm you still see the problem with the latest WALA release, 1.6.5? Or is there some reason you cannot upgrade to that version?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I put up a PR to update your code to WALA 1.6.5 at https://github.com/bupt01/log4j/pull/1. Looking over your code I think there is some confusion. Are you trying to analyze source code or bytecode? I think you're trying to analyze source code, in which case you are using the wrong APIs. See this class for an example of how to analyze source. I personally recommend analyzing bytecode, though, as it will be more robust.
Also I recommend constructing file paths using the Path
APIs or using things like File.separator
to ensure they are compatible across platforms.
Hello, recently I've been using WALA to create a call graph. The code is as follows: ` PrintStream ps = System.out;
The code has run successfully on many programs, except for this one. The directory structure of this program is as follows: The error message is as follows: