Coder Social home page Coder Social logo

commandline options about uefitool HOT 8 CLOSED

longsoft avatar longsoft commented on July 17, 2024
commandline options

from uefitool.

Comments (8)

NikolajSchlej avatar NikolajSchlej commented on July 17, 2024

Hi.

CLI requests are often, but I can't implement it right now because of complete lack of free time.
FFSEngine can indeed be used without UEFITool, but it has no suitable operations for tree traversing, so you need to reimplement QTreeView class, because FFSEngine works with QModelIndex'es.
I will make it more generic and less Qt-based after some refactoring rounds, I hope, but all I have right now is this.
If you have some ideas on how this CLI must look and how it must work - feel free to post it here, because right now I have none of them. Pull requests of any sorts are welcome too.

from uefitool.

vikasnkumar avatar vikasnkumar commented on July 17, 2024

Hi

Ok. I will look at it to see if I can rip out QTreeView from FFSEngine
to make it more abstract, but if it is part of your design it may be
time consuming.

For the CLI, from my perspective, all I want to do is take a large BIOS
blob from the vendor and break it up into its components. I don't think
anyone would want to use the CLI to modify the components but maybe
there are programs that might want to do that or might want to wrap the
UEFITool as a library to do that.

this is how I would like to use it to extract all the components. then
the extracted components would automatically be saved in the current
directory or a new directory with their GUIDs acting as file names.
there would be an index file created that has the contents of the
TreeView that you have in the UEFITool so that someone could read the
contents and know which GUID refers to which component.
$ ./uefitool --extract bios_image.fd

Thanks

On 03/19/2014 07:08 AM, Nikolaj Schlej wrote:

Hi.

CLI requests are often, but I can't implement it right now because of
complete lack of free time.
FFSEngine can indeed be used without UEFITool, but it has no suitable
operations for tree traversing, so you need to reimplement QTreeView
class, because FFSEngine works with QModelIndex'es.
I will make it more generic and less Qt-based after some refactoring
rounds, I hope, but all I have right now is this.
If you have some ideas on how this CLI must look and how it must work

  • feel free to post it here, because right now I have none of them.
    Pull requests of any sorts are welcome too.


Reply to this email directly or view it on GitHub
#4 (comment).

from uefitool.

NikolajSchlej avatar NikolajSchlej commented on July 17, 2024

Extraction will be implemented soon, it's easy and have no requirements to any classes except FFSEngine and members of QtCore. Modification and repacking will be a bit harder to implement without GUI, but still can be done. Will do something about it soon, I hope.

from uefitool.

vikasnkumar avatar vikasnkumar commented on July 17, 2024

In my opinion, anyone who needs to modify will be manually doing it most
likely and hence the GUI works for that scenario. Extraction on the
other hand can be utilized by various malware analysis tools which will
most likely not want the GUI. I think doing extraction will be a big
win. You may want to wait for user demand for CLI-based
modification/repacking before implementing that.

On 03/19/2014 10:25 AM, Nikolaj Schlej wrote:

Extraction will be implemented soon, it's easy and have no
requirements to any classes except FFSEngine and members of QtCore.
Modification and repacking will be a bit harder to implement without
GUI, but still can be done. Will do something about it soon, I hope.


Reply to this email directly or view it on GitHub
#4 (comment).

from uefitool.

NikolajSchlej avatar NikolajSchlej commented on July 17, 2024

I wrote UEFIExtract utility (project file is located in UEFIExtract subfolder) that can be used from CLI to extract UEFI image file into directory tree.

from uefitool.

vikasnkumar avatar vikasnkumar commented on July 17, 2024

That is awesome ! Thank you very much.

On 05/03/2014 07:00 AM, Nikolaj Schlej wrote:

I wrote UEFIExtract utility (project file is located in UEFIExtract
subfolder) that can be used from CLI to extract UEFI image file into
directory tree.


Reply to this email directly or view it on GitHub
#4 (comment).

from uefitool.

Zibri avatar Zibri commented on July 17, 2024

uefiextract creates too long paths in windows.. which is of if extracting a full image but not ok if you need to extract a single GUID

from uefitool.

NikolajSchlej avatar NikolajSchlej commented on July 17, 2024

Try UEFIDump, it extracts everything into a single subfolder

from uefitool.

Related Issues (20)

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.