konrad-kruczynski / elfsharp

Pure managed C# library for reading ELF, UImage, Mach-O binaries.
https://elfsharp.it
Other
159 stars 57 forks source link

Please make "filesize" of the “Segment” class public. #17

Closed navaro closed 11 years ago

navaro commented 11 years ago

Konrad, Thank you , this certainly is an excellent library! I use it to parse and upload elf files to an ARM processor. Can you make the "filesize" of the “Segment” class public? There is no need to program a segment of zero file size because it usually gets initialized by the boot code. Thank you, Natie.

konrad-kruczynski commented 11 years ago

Hi, no problem, I've just commited the change. Do you need new binary release or can I postpone that to include more changes?

Btw, could you share some details about your project that you're using ELFSharp in? Looks interesting.

konrad-kruczynski commented 11 years ago

Or perhaps nuget package?

navaro commented 11 years ago

Konrad,

Thanks again for the library, it just work and the structure is really self-explanatory and straight forward to use!

I downloaded the source already and did the modification in my own environment but really would prefer to just use the DLL from your build. So I will just check for the next release whenever it is ready.

The project I am working on is running on a NXP ARM processor. We are using the LPC1756 but I want to upgrade to one of the LPC40xx Cortex M4 processors. The application is compiled with the GNU ARM toolchain and is using ChibiOS/RT. There is a bootloader communication over the serial port of the Microcontroller and can execute different commands including commands to program the Flash memory of the microcontroller.

I use ELFSharp to read the ELF file segments and encapsulate the contents into commands the bootloader understands to program the FLASH.

The application runs over WiFi so therefore we do not use the standard bootloader on the LPC’s boot ROM.

The application is still in the prototyping phase and we used to have a DOS application to parse and upload the ELF files. I much prefer the .NET solution as a lot of our tools are running under .NET.

Regards,

Natie.

On Thu, Sep 5, 2013 at 12:31 PM, Konrad Kruczyński <notifications@github.com

wrote:

Hi, no problem, I've just commited the change. Do you need new binary release or can I postpone that to include more changes?

Btw, could you share some details about your project that you're using ELFSharp in? Looks interesting.

— Reply to this email directly or view it on GitHubhttps://github.com/konrad-kruczynski/elfsharp/issues/17#issuecomment-23858611 .