DanielLin1986 / Function-level-Vulnerability-Detection

A deep learning-based vulnerability detection framework
73 stars 23 forks source link

data problem #5

Open taylorgag opened 3 years ago

taylorgag commented 3 years ago

Sorry to bother you, Is data after ast serialization?

YinHuiLin commented 2 years ago

It seems that the data is not that one after ast serialization, the samples are loaded directly from c files

DanielLin1986 commented 2 years ago

Sorry to bother you, Is data after ast serialization?

Hi there,

Thanks for your comments. The provided data contains C source code functions. Each function is saved in an individual C file.

To get the AST serialization data, please refer to the following link: https://github.com/DanielLin1986/TransferRepresentationLearning/tree/master/Data/VulnerabilityData

Alternatively, you can use a tool called CodeSensor to obtain ASTs in serialized format.

DanielLin1986 commented 2 years ago

It seems that the data is not that one after ast serialization, the samples are loaded directly from c files

Yes. For this project, the neural network directly takes C source code functions as input. No code analysis is needed.