-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread "main" java.lang.IllegalStateException: Could not create a entrypoint callsites: #1416
Comments
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 bupt01/log4j#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 |
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:
![image](https://private-user-images.githubusercontent.com/73539951/346314572-ca4022eb-deaf-45ab-a3c5-7277170cc44d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNDUyNDYsIm5iZiI6MTcyNjA0NDk0NiwicGF0aCI6Ii83MzUzOTk1MS8zNDYzMTQ1NzItY2E0MDIyZWItZGVhZi00NWFiLWEzYzUtNzI3NzE3MGNjNDRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA4NTU0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRkNzFkN2M1Y2NlYjM2YjBiYzFmNjBhM2IyYmExY2UwMzM3NWVhYjQ3OGQ5ZGMyNWUxZGY5MmNlYjlkNjhiZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mgfdfGQMMGNSjESAn057BRT_Bh1bOwxYUPz5yVBRzws)
The error message is as follows:
The text was updated successfully, but these errors were encountered: