Partially fix 2001/bellard

This still crashes and may very well not work even if it doesn't but I
cannot determine that. I just fixed the initial segfault when opening
the file. I believe it will take much debugging, a 32-bit system to test
it on and also a knowledge of the ELF format. There might be other
things but I believe those are the minimum requirements.

I did fix the supplementary program bellard.otccex.c so it does not
segfault and seemingly it works too (I didn't really evaluate that the
output is correct but it does process the args anyway).

I updated bugs.md to note that this entry does not work and any help
would be appreciated.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-25 05:24:48 -07:00
1 parent f7e1e8dae4
commit e8016a5ac8
5 files changed
+65 -42

No files matched your search

+11
View File
@@ -19,6 +19,17 @@ make
./bellard file
```
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) partially fixed this
but he notes that this will not work without some serious debugging. As he has
no 32-bit system to test this under it's also unlikely he will be able to
resolve the remaining problems. He also has no knowledge of the ELF binary
format so that will also make it harder to work. As it is it segfaults. He fixed
an earlier segfault so that at least the file can be opened and he also changed
some of the macro uses to what they expanded to but mostly he kept it the same.
He also fixed `bellard.otccex.c` so it does not segfault and seemingly works
okay. Thank you Cody for your assistance!
### Try:
```sh