Comments (8)
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.
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.
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.
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.
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.
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.
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.
Try UEFIDump, it extracts everything into a single subfolder
from uefitool.
Related Issues (20)
- are there plans to for example extract apple scap firmware bios region and then write it to a ch341a rom dump? HOT 1
- Compressed sections unsupported HOT 2
- Off-by-one error preventing parsing of Boot5 partition in IFWI 1.6 and 1.7 regions HOT 2
- Extract bitmap image HOT 8
- Question but no discussion forum for these HOT 3
- Lenovo P520 BIOS file has DXE section compressed? HOT 2
- modifying images UEFITool NE HOT 1
- are all the Micron SPI parts mis-identified? HOT 4
- UEFITool is unable to find DXE volume in the image HOT 1
- Can not extract VBIOS and GOP HOT 9
- uefitool: Add option to calculate hashes of selected tree item (header/body/whole) HOT 1
- Bricked after replacing module with UEFITool (ASRock X79 Extreme6/GB) HOT 1
- UEFITool doesn't recognize lzma compressed section in latest bios HOT 1
- qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" HOT 5
- Cant parse image, weird errors. HOT 1
- Selected file is not a proper bios! HOT 1
- Modded BIOS file fails to flash, "Selected file is not a proper BIOS!" HOT 4
- Please help GUID defined section with unknown processing method errors HOT 10
- Tools won't open when run HOT 1
- How to modify bios firmware image version?
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 uefitool.