xiaojunxu / dnn-binary-code-similarity Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Do you have in plan to upgrade the requirements?
in line 140 of the train.py
if (i % TEST_FREQ == 0):
auc, fpr, tpr, thres = get_auc_epoch(gnn, Gs_train, classes_train,
BATCH_SIZE, load_data=valid_epoch) #valid_epoch?
gnn.say("Testing model: training auc = {0} @ {1}".format(
auc, datetime.now()))
auc, fpr, tpr, thres = get_auc_epoch(gnn, Gs_dev, classes_dev,
BATCH_SIZE, load_data=valid_epoch)
gnn.say("Testing model: validation auc = {0} @ {1}".format(
auc, datetime.now()))
partial results:
Initial training auc = 0.8385795480339078 @ 2021-01-14 10:49:18.571989
Initial validation auc = 0.8385795480339078 @ 2021-01-14 10:49:26.453895
EPOCH 1/100, loss = 0.6696747210700994 @ 2021-01-14 10:52:33.539342
Testing model: training auc = 0.9225966099742847 @ 2021-01-14 10:52:41.815191
Testing model: validation auc = 0.9225966099742847 @ 2021-01-14 10:52:49.352049
Model saved in ./saved_model/graphnn-model_best
EPOCH 2/100, loss = 0.6475605093730598 @ 2021-01-14 10:55:58.523499
Testing model: training auc = 0.9278334338892803 @ 2021-01-14 10:56:06.467269
Testing model: validation auc = 0.9278334338892803 @ 2021-01-14 10:56:14.051002
so should I change it as the following?
if (i % TEST_FREQ == 0):
auc, fpr, tpr, thres = get_auc_epoch(gnn, Gs_train, classes_train,
BATCH_SIZE, load_data=None) #change valid_epoch into None
gnn.say("Testing model: training auc = {0} @ {1}".format(
auc, datetime.now()))
auc, fpr, tpr, thres = get_auc_epoch(gnn, Gs_dev, classes_dev,
BATCH_SIZE, load_data=valid_epoch)
gnn.say("Testing model: validation auc = {0} @ {1}".format(
auc, datetime.now()))
Hi,
When I looked at the data, I saw that in each line, you have features of each node. I'm wondering how you generated those features. I didn't find that in your paper, either. I really appreciate your reply. Thanks a lot.
I think the json files in the data folder are generated though structure2vec from openssl's control flow graph, do I understand correctly?
Hi,
In the 4.7 section,i find the top-50 result could achieve over 80% accuracy.So i would like to get other result like top1 or top10.
The data set I need is"Dataset IV:This dataset contains vulnerable functions obtained from the vulnerability dataset in [18]. In total, it contains of 154vulnerable functions."
[18] Qian Feng, Rundong Zhou, Chengcheng Xu, Yao Cheng, Brian Testa, and Heng Yin. 2016. Scalable Graph-based Bug Search for Firmware Images. In ACM Conference on Computer and Communications Security (CCS’16).
But I didn't find the address of this data set in his paper. Could you help me
I found that there are only the results of the ACFGs in this project. And now I want to extract the ACFGs of other files. Could you give me the plugin to extract the ACFGs or tell me where can I get this plugin? Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.