Repository navigation
Replies: 4 comments
|
Hi, Your comments are helpful in that I will change the code to make it easier to modify for each platform. Regarding- the startup code does- UTILITY_VERSION_NUMBER_RM_UTILS_OVERRIDE is stored in the yaml file and utility_info["utility_name"] should be defined without the build script. It's in the actual code. |
|
In the distant past, I did run RM on Linux via Wine. However, I abandoned that experiment since the GUI didn't quite render correctly in all cases. There's been many improvements to Wine since then, but this isn't something that I think that I'll try again. Then around RM8, I was using RM on a MacBook and then ported unifuzz to work from the macOS command line. macOS underneath is Unix-like, actually based upon BSD. I do not think that a Linux .so could be used for a .dylib I do have access to a MacBook nowadays, but it's not my daily driver. I've been a Linux guy since 1993 and actually contributed to the kernel early on. I laid off of the genealogy thing for a while and am now back at it. I'm currently running RM10 on a Windows 11 Virtual Machine running on a Linux host -- that's about all I use Windows for. The .rmtree database is being saved to a shared Linux filesystem which make it convenient for me to run scripts on. Recently, I made a small adjustment to my unifuzz project's Makefile to compile and use on Linux. The resulting unifuzz.so file can be found here: https://github.com/mooredan/unifuzz/blob/master/release/unifuzz.so With some spare cycles, I'll compile and release the unifuzz.dylib for use on a Mac. But I don't plan on installing RM10 on that machine. However, I'll probably give sqlite3 a test drive with the .dylib ...more to come... |
|
Here is the output of running RunSQL.py on a Linux machine with no changes (I would expect similar output on a Mac): After commenting out line 133: Then after commenting out line 134 of launcher.py, the command completes, but there's an error in the .txt file: That's fixable with this diff: Next error has to do with expecting unifuzz.dll (Windows dynamic link library): Change the .ini file again: Almost there: This error has to do with how SQLite expects an extension to be named for different OSs. From https://www.sqlite.org/loadext.html
I'm not a Python guy, so this hack may not be the correct or most robust way to do this: These few changes resulted in the script working: |
|
I was able to compile unifuzz on a modern non-Intel MacBook Pro (Apple M2 microprocessor). The compilation produced a unifuzz.dylib as expected. However, when I tried ".load unifuzz" in sqlite3 on the same machine, it resulted in a segmentation fault and exiting sqlite3. The last time I was successful in doing this (back in 2017), the Mac machine was an Intel-based one. That may, or may not, be the issue. |
Uh oh!
There was an error while loading. Please reload this page.
I managed to get "Run SQL" running on a Linux machine (Pop!_OS 22.04 (Ubuntu/Debian)) with a few minor edits / adjustments.
There's probably not much demand for this running on Linux.
All reactions