Quantcast
Viewing all articles
Browse latest Browse all 5986

MulVAL: Segmentation Fault [closed]

I have been trying to run MulVAL to generate attack graph. But I am not able to run it as it is giving me Segmentation Fault everytime. I have made possible modifications but still it is not working.

ubuntu@ubuntu-VMware-Virtual-Platform:~/Downloads/mulval$ /home/ubuntu/Downloads/mulval/utils/graph_gen.sh /home/ubuntu/Downloads/mulval/testcases/3host/input.P -v -pGoal: execCode(workStation,_h742)Segmentation fault (core dumped)ubuntu@ubuntu-VMware-Virtual-Platform:~/Downloads/mulval$

I used gdb for mulval/bin/attack_graph and gave input.P and I got this:

1102   if (argc < 2){(gdb) next1107     process_args(argc, argv);(gdb) next1113   yyin = fopen( tracefile_name,"r");(gdb) next1114   if (yyin == NULL) {(gdb) next1126   if (yyparse() != 0){(gdb) nextProgram received signal SIGSEGV, Segmentation fault.0x0000555555558334 in yylex ()    at /home/ubuntu/Downloads/mulval/src/attack_graph/graphit.l:2525 [\/a-zA-Z0-9_\-\+\.]+     *mylVal=(char *)strdup(yytext); return ATOM;(gdb) nextProgram terminated with signal SIGSEGV, Segmentation fault.The program no longer exists.(gdb)

How can I fix this?


Viewing all articles
Browse latest Browse all 5986

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>