Reverse engineering IRIX: The beginning.
#1
Reverse engineering IRIX: The beginning.
So thus far most of my time on development for new parts of the base has been replacement, not much else. 

Finally feel comfortable enough announcing a project I picked up purely because I thought I could do it. 

File Alteration Monitor is a part of the IRIX base system. The version shipped with 6.5.12+ was released as GPL2/LGPL2 (the latter for the library).
The original version 1 was as far as I understand never actually released. But the library is tiny, and I made friends with an excellent source code documentarian and developer. He was kind enough to pop the 5.3 era library through Ghidra and write out exactly what it did, function by function (and even function names, as he had debug symbols).

As I speak I was successful in reconstruction of it from the documentation he provided. He provided a significant analysis of each and I did my best to match the CFront era C++ function design and setup. As a result the code quality is atrocious and likely will not be my finest work, now or ever. I am currently working in getting it compiling and will build a few programs for testing purposes.

This library will not be acceptable to use as a drop in replacement likely. I did this strictly as an exercise and in hopes that someone with more brains and skill can make due of it. 

The source will be released under the MIT license, and I will do my best to document it both with comments and a short function manual. It is my hope that I or someone else can: 

1. Write a fam daemon from the library to replace the V1 daemon in 5.3

2. Upgrade the library to support version 2 that is widely distributed. 

3. Port it to other OSes, using OS specific functions for event based monitoring. 

4. Make it not suck or insecure.

It is my hope that barring some freak problem I should have this released within a month or less..

Far from stopping here I have a number of other libraries and commands that I plan to reverse engineer or help someone else do. 

I make no claims as to the quality of my work but only that I will do my best and hope that I can be a better developer because of it. My friend who's a artist once told me that is not about painting a Picasso your first time. Sometimes you have to get in practice and lots of it in order to actually be a better developer and he said a lot of it just takes time.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,241
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
12-27-2021, 04:45 AM


Messages In This Thread
Reverse engineering IRIX: The beginning. - by Raion - 12-27-2021, 04:45 AM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 03:00 AM
RE: Reverse engineering IRIX: The beginning. - by TruHobbyist - 12-28-2021, 08:12 AM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 03:46 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 06:30 PM
RE: Reverse engineering IRIX: The beginning. - by jpstewart - 12-28-2021, 09:14 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 09:20 PM
RE: Reverse engineering IRIX: The beginning. - by jan-jaap - 12-28-2021, 10:26 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 11:00 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-29-2021, 02:42 AM
RE: Reverse engineering IRIX: The beginning. - by TruHobbyist - 12-29-2021, 12:19 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-29-2021, 04:36 PM
RE: Reverse engineering IRIX: The beginning. - by weblacky - 12-29-2021, 09:44 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-29-2021, 09:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)