Code Monkey home page Code Monkey logo

Comments (17)

serge1 avatar serge1 commented on August 22, 2024

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.

belissent avatar belissent commented on August 22, 2024

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.

serge1 avatar serge1 commented on August 22, 2024

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.

serge1 avatar serge1 commented on August 22, 2024

Additional question - would it be possible to eliminate (or, at least, reduce) the output of the test program?

from coffi.

belissent avatar belissent commented on August 22, 2024

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.

belissent avatar belissent commented on August 22, 2024

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.

serge1 avatar serge1 commented on August 22, 2024

Initially I thought about BIOS interrupts, but, most likely, it will not work under the Windows OS.

from coffi.

serge1 avatar serge1 commented on August 22, 2024

So, in case it requires an effort, please don't bother

from coffi.

belissent avatar belissent commented on August 22, 2024

Mission accomplished: #5
If you agree with the modifications, would it be possible to draft a new release ?

from coffi.

serge1 avatar serge1 commented on August 22, 2024

Done. Release_1.0 tagged

from coffi.

serge1 avatar serge1 commented on August 22, 2024

Hi Pierre,

from coffi.

serge1 avatar serge1 commented on August 22, 2024

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.

belissent avatar belissent commented on August 22, 2024

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.

serge1 avatar serge1 commented on August 22, 2024

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.

belissent avatar belissent commented on August 22, 2024

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.

serge1 avatar serge1 commented on August 22, 2024

The documentation looks much better that I could expect. I think this alternative to Doxygen is good enough.

from coffi.

serge1 avatar serge1 commented on August 22, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.