The Effectiveness of Large Language Models (ChatGPT and CodeBERT) for Security-Oriented Code Analysis