Portál AbcLinuxu, 2. května 2025 04:43
Tiskni
Sdílej:
010 Editor is a professional hex editor designed to edit any binary file, drive, or process on your machine. Using our unique Binary Templates technology, 010 Editor allows a binary file to be parsed into a data structure that can be understood.Na linux to asi nebude, ale co se dá dělat...
typedef struct {
...
} typ;
int fd, i;
typ inst;
fd=open("file", 0);
while((i = read(fd, (char*)&inst, sizeof(typ))!=0) {
...
}
typedef struct {
unsigned long size;
char text[size];
int number;
} oneitem;
typedef struct {
unsigned long size;
oneitem items[size]
} allitems;
A to celý pokaždý trochu jinak a v trochu jiným pořadí... :/
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.