Comments (17)
Hi Pierre, I started this project for the purpose of reading COFF files only. (That is why the name - as an opposite to ELFIO ;-). Taking into the account the diversity of the COFF formats for different architectures, switching to ELF format nowadays, I didn't put much effort for extending COFFI.
In case you see a value for developing the project further, I'll accept any changes from you automatically
from coffi.
I pushed the prototype in a separate branch coffio.
If you have time, you can have a look at it, and tell me if I should make a pull request to the master.
from coffi.
Hi, what you did is just amazing!
I have committed the changes from coffio branch to master. Special thanks for following coding conventions.
Do you think it will be possible to extend 'answer.exe' example to print something?
from coffi.
Additional question - would it be possible to eliminate (or, at least, reduce) the output of the test program?
from coffi.
Do you think it will be possible to extend 'answer.exe' example to print something?
I don't know how to do this (in the writer example). Anything requires the standard libraries+startup code. Even the management of the environment variables seems to require those.
In the EXE generated by the example, the return value is not passed as %ERRORLEVEL% to the calling shell. I suspect that it is due to the environment not being managed in the EXE.
from coffi.
Do you think it will be possible to extend 'answer.exe' example to print something?
It will try something, based on http://www.phreedom.org/research/tinype/
from coffi.
Initially I thought about BIOS interrupts, but, most likely, it will not work under the Windows OS.
from coffi.
So, in case it requires an effort, please don't bother
from coffi.
Mission accomplished: #5
If you agree with the modifications, would it be possible to draft a new release ?
from coffi.
Done. Release_1.0 tagged
from coffi.
Hi Pierre,
from coffi.
I reached my Windows machine and recognized that you succeeded to implement PE Hello World program by using COFFI library. It is just amazing! Thanks a lot!
from coffi.
Thanks.
The project would require a little bit of documentation:
Do you have any preference/advice regarding the documentation generator?
What do you think of Read the Docs?
from coffi.
Indeed, in the current state (thanks to you), the project deserves documentation. I have no preferences and have no experience with "Read the Docs". Does it support C++ code? From what I saw, it is Python oriented.
Alternatively, we may create documentation similar to ELFIO's user manual. It will require a bit of manual work though. If an automatic way exists, it will be preferable.
P.S. I am using your MASM code as a snippet for "Hello World" program in VSCode plugin called "Multi Language Hello World"
from coffi.
A prototype running on my GitHub fork is starting to work: https://coffi.readthedocs.io/
Many things don't work properly (code snippets, some images, documentation is far from complete, inheritance diagram is broken, missing images and PDF files, etc.).
This gives an rough idea of what could be done, and the impact on the source code that contains the documentation.
Doxygen is in my opinion much more complete than sphinx for the C++ projects.
from coffi.
The documentation looks much better that I could expect. I think this alternative to Doxygen is good enough.
from coffi.
In case of future development of this project, please add yourself as the author and the owner of the project
from coffi.
Related Issues (5)
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 coffi.