Comments (7)
Hi @pfsun, I'm adding the script I use to generate the polls in #30. Whenever I go to update the spreadsheet I regenerate all the polls with this and use them on every OS.
from cb-multios.
Great. Thanks @krx for quick response. I am trying it now.
from cb-multios.
Hi @krx, how do you deal with the following errors. Since some generate the poller which needs the shared object file in machine.py (e.g. in build/patched/so/CROMU_00020.so). Thanks.
Estadio
Traceback (most recent call last):
File "/var/home/psun/fla/cb-multios/tools/generate-polls/generate-polls", line 267, in
main()
File "/var/home/psun/fla/cb-multios/tools/generate-polls/generate-polls", line 226, in main
graph.walk(current_id, total)
File "/var/home/psun/fla/cb-multios/tools/generate-polls/generator/graph.py", line 231, in walk
response = node()
File "poller/for-release//machine.py", line 45, in start
self.g = Gyre()
File "poller/for-release//machine.py", line 26, in init
self.dll = ctypes.CDLL('build/patched/so/CROMU_00020.so')
File "/usr/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: build/patched/so/CROMU_00020.so: cannot open shared object file: No such file or directory
from cb-multios.
We ignore those.
If you absolutely need them you can use the original CGC Vagrant boxes (available here http://repo.cybergrandchallenge.com/release-cfe/) and build the unmodified DECREE examples (https://github.com/CyberGrandChallenge/samples)
from cb-multios.
Hi @withzombies, Got it. Thanks :-)
from cb-multios.
Thanks @krx @withzombies, I have finished the compiling and testing based on your solution. I want to share the test result with you.
https://docs.google.com/spreadsheets/d/1GYsVes7RqCPwd3pQ__esszAiGLLl1dNT2JGNQ3BYgKc/edit?usp=sharing
I test on Ubuntu 14.04 64bit and compiler(clang-3.9). According to the total numbers, I have less PoVs and more Pollers than yours. In my part, I have 115 binaries that passed all PoVs, and 207 binaries that passed all pollers. Based on your result, you have 146 binaries that passed all PoVs, and 166 binaries that passed all pollers.
I just wonder whether you also have different results when you run different time.
Thanks for your work.
from cb-multios.
@PSFun different results at different times is a known issue with some challenges in CGC due to non-determinism of read and write buffers. Challenges in CFE were more reliable than CQE, as the authors were required to pass a more rigorous testing process.
from cb-multios.
Related Issues (20)
- Use ninja on Windows CI HOT 3
- CI: Perform static builds as well
- AFL-friendly CGC challenges HOT 3
- Sugestion - Disable jump tables on switch-case instructions HOT 1
- WhackJack unitialized structure leads to POLL failure HOT 1
- terminate syscall status
- Remove AppVeyor for CI
- README: Current status google doc link is broken HOT 2
- g_heap multiple definitions build error HOT 2
- 2 errors occured while building all the challenge binaries HOT 7
- OS errors when generating polls and other errors HOT 9
- segment fault in 64bit-mode HOT 6
- Cannot build in 32-bit mode HOT 3
- [Question] Can a single string input trigger the vulnerabilities inside the CGC programs? HOT 3
- Issues with generating polls HOT 2
- AFL test HOT 2
- get the error when execute ./test.py -a -o out.xlsx HOT 2
- Vulnerability locations index
- Error running tests HOT 1
- Whether challenge can be compiled separately? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cb-multios.