File magic grimoire grub2 .mod

I was browsing around my system, which is something I do, like sweeping the floors or running the vacuum cleaner. I noticed that the `konqueror` file association for the grub .mod files was as music files, which you could assume that if you just looked at the ".mod" extension. They are obviously ELF and they are new, because I would have noticed them before. I also sweep one partition while booting another to limit the possibility that a "kit" could keep me from seeing what it was doing.

motey@motey-desktop:/boot/grub$ objdump -d cat.mod                                    

cat.mod:     file format elf32-i386


Disassembly of section .text:

00000000 : 0: 55 push %ebp 1: ba 35 00 00 00 mov $0x35,%edx 6: 89 e5 mov %esp,%ebp 8: 83 ec 10 sub $0x10,%esp b: 6a 01 push $0x1 d: b9 00 00 00 00 mov $0x0,%ecx 12: 68 0d 00 00 00 push $0xd 17: b8 09 00 00 00 mov $0x9,%eax 1c: e8 fc ff ff ff call 1d 21: a3 00 00 00 00 mov %eax,0x0 26: 58 pop %eax 27: 5a pop %edx 28: c9 leave 29: c3 ret

It seems like a sensible approach and I see nothing wrong with the miss-association when browsing with `konqueror`. Really , I saw somebody filed a bug report that ".mod" showed up wrong in the actions menu. Wow, who can't use a little context reasoning and who in their right mind clicks to run files in "/boot/" What exactly do they want it opened with?, "objdump -d "?, and then they would complain it was ATT format assembly and not Intel.

I immediately wanted to open a terminal when I was browsing there and I haven't found a way to have " open terminal icon " on any menu, but "F4" works and is better IMHO as it doesn't waste visual real estate. Besides that a console person is usually not a 'mouse click and drool' oriented person anyway.


motey@motey-desktop:/boot/grub$ nm cat.mod 0000015f T grub_cat_fini 0000002a T grub_cat_init U grub_checkkey U grub_error U grub_file_close U grub_file_read U grub_getkey U grub_gzfile_open U grub_isprint U grub_isspace 0000014e t grub_mod_fini 00000000 t grub_mod_init U grub_printf U grub_putchar U grub_refresh U grub_register_command_prio U grub_setcolorstate U grub_unregister_command motey@motey-desktop:/boot/grub$ file cat.mod cat.mod: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped motey@motey-desktop:/boot/grub$

0 comments:

Automated Intelligence

Automated Intelligence
Auftrag der unendlichen LOL katzen