COTVD: A function-level vulnerability detection framework using chain-of-thought reasoning with large language models | Synapse