AnyELF - a new lister plugin
Moderators: Hacker, petermad, Stefan2, white
AnyELF - a new lister plugin
Hi,
(This is my first post at this forum.)
I just announced a new lister plugin at totalcmd-net. It is called AnyELF.
I would appreciate any feedback regarding the plugin. Any proposals for improvement are very welcomed.
The plugin is open sourced – please let me know if you have any comments and/or suggestions regarding the sources too.
Best regards,
Serge
(This is my first post at this forum.)
I just announced a new lister plugin at totalcmd-net. It is called AnyELF.
I would appreciate any feedback regarding the plugin. Any proposals for improvement are very welcomed.
The plugin is open sourced – please let me know if you have any comments and/or suggestions regarding the sources too.
Best regards,
Serge
First of tanks a lot for the new plugin, good job 
I Didn't think this dll would work under XP but it does, anyway can you tweak the VC11 project file so the min required OS version isn't set to 6.0 but to 5.01
What font are you using, how about an option to change the font, maybe try a Monospaced font?

I Didn't think this dll would work under XP but it does, anyway can you tweak the VC11 project file so the min required OS version isn't set to 6.0 but to 5.01
What font are you using, how about an option to change the font, maybe try a Monospaced font?
Thanks to all for the complimentsiana wrote:First of tanks a lot for the new plugin, good job
I'll look at this. Should not be a problem, but, I never did this before. If you are aware, would you please advise what property/configuration of the project should be tweaked?iana wrote:I Didn't think this dll would work under XP but it does, anyway can you tweak the VC11 project file so the min required OS version isn't set to 6.0 but to 5.01
Currently, the plugin uses system stock fonts. For ANSI - ANSI_FIXED_FONT and for ASCII - SYSTEM_FIXED_FONT. They are supposed to be Monospaced. Don't you see a fixed font output on your system?iana wrote:What font are you using, how about an option to change the font, maybe try a Monospaced font?
I also think that it would be preferred to use natural lister fonts for this purpose. I have asked related question at topic ?t=16547 (I have no permission to post URL yet). I am waiting for a reply on it...
I don't have vs2012 but in the old versions you could set the OS version 2 waysI'll look at this. Should not be a problem, but, I never did this before. If you are aware, would you please advise what property/configuration of the project should be tweaked?
1. using a command line option adding these two values /D "WINVER=0x0501" /D "_WIN32_WINNT=0x0501" in the compiler options in visual studio, right-click the project select Configuration Properties->C/C++->Command Line and paste that line there
2. in the stdafx.h you can define the minimum OS that's to be supported, add these 2 definitions
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
It might be better to use 0x0500 (aka 2k) but VS 2012 doesn't support 2k, and it supports XP only with SP1 installed.
As you're building a 64bit dll too don't forget to add an if before defining the WINWER to 0x0501
#if defined(WIN32)
..
#endif
It might be easier to use the command line project options and use the /D switch to define win32 to 0X0501 for the 32bit build and don't edit the include files.
About the font, it maybe the font I've selected in lister, I'm not sure what font it is, it doesn't look monospaced but it could be, the size is too small,
here's a screenshot of your plugin viewing a linux application, the font is hard to read
Image: http://i.imgur.com/R3zcb.png
edit: after staring at the font I see it is a monospaced font but personally I don't like it it's too small.
ps. About posting links I think you need to be a member a week or two or have 5 posts but you'll be there soon, and the author reads these pages regularly so you'll probably get an answer soon.
Thank you for the advice. I am using these settings for a new lister plugin AnyCmd (which will be announced soon) and for future versions of AnyELF.iana wrote: 1. using a command line option adding these two values /D "WINVER=0x0501" /D "_WIN32_WINNT=0x0501" in the compiler options in visual studio, right-click the project select Configuration Properties->C/C++->Command Line and paste that line there
The font size problem is not resolved though.
Re: AnyELF - a new lister plugin
Hi,
I'd like to announce availability of a minor update for this plugin. The plugin version 1.2 is based on ELFIO library version 2.1 and adds possibility of .dynamic section dump output.
Best regards,
Serge
I'd like to announce availability of a minor update for this plugin. The plugin version 1.2 is based on ELFIO library version 2.1 and adds possibility of .dynamic section dump output.
Best regards,
Serge
Re: AnyELF - a new lister plugin
Hi,
I'd like to announce availability of a minor update for this plugin. The plugin version 1.5 is based on ELFIO library version 3.1 and permits dump of section and segment's data.
Best regards,
Serge
I'd like to announce availability of a minor update for this plugin. The plugin version 1.5 is based on ELFIO library version 3.1 and permits dump of section and segment's data.
Best regards,
Serge
MN103 ELF file
Hi,
Here is a link to an MN10300 ELF file
https://www.dropbox.com/s/i2uqws7kx70ra82/ARMSCII-8.so?dl=0
Let me know how it goes.
Thanks
Here is a link to an MN10300 ELF file
https://www.dropbox.com/s/i2uqws7kx70ra82/ARMSCII-8.so?dl=0
Let me know how it goes.
Thanks
Re: MN103 ELF file
Thank you very much for providing this ELF file. The problem was confirmed - a .note.GCC-command-line section of this file contains data in unusual format. It is just one single string not prepended with name and description sizes as it should in accordance to NOTE section format. This problem cannot be fixed, but code preventing the crash was added to ELFIO library.billiebub wrote:Hi,
Here is a link to an MN10300 ELF file
Let me know how it goes.
Thanks
An updated TC plugin availability will be announced shortly.
BTW, readelf utility is also not happy with the file and gives a warning:
readelf: Warning: note with invalid namesz and/or descsz found at offset 0x0
Best regards,
Serge
readelf shows NEEDED shared libaries and plugin does not
readelf shows an error when a dynamic section is missing but still shows NEEDED shared libraries but the plugin does not show it. This might not be adhering to the ELF standard but it would be helpful to replicate what readelf shows in the plugin.
I tested using the following ARM ELF:
https://www.dropbox.com/s/u5gfnt30k9f66mu/entropy.so?dl=0
Also would it be possible to hide or collapse the data section at the bottom? Seem to add lots of noise when doing a quick browse.
I tested using the following ARM ELF:
https://www.dropbox.com/s/u5gfnt30k9f66mu/entropy.so?dl=0
Also would it be possible to hide or collapse the data section at the bottom? Seem to add lots of noise when doing a quick browse.
-
- Junior Member
- Posts: 2
- Joined: 2018-01-02, 09:48 UTC
Re: AnyELF - a new lister plugin
I'm having a problem with this plug-in when trying to view a file compiled with Lazarus (well, lazbuild to be precise) on an x86_64 architecture. The executable itself is pretty large (~30 megs long) and Total Commander hangs without producing any output when I try to view it using AnyELF. Could you take a look at it please?