Dynamic Binary Translator Process Filesystem Administration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The integration of program code from one processor architecture to another is complicated by the presence or absence of a process filesystem, and existing methods often require modification of the target operating system, which can destabilize it.
Innovation Solution
A translator process populates a process data structure with information about translator processes and refers to it in response to subject code references, allowing for consistent process information provision without modifying the target operating system, thereby enabling smooth program code conversion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the target operating system is modified to integrate subject process information, then compatibility with subject code is improved, but system stability deteriorates
Solution Approach 1:
The patent segments the process information management by creating a separate virtual filesystem layer (proc filesystem) that sits between the subject code and the target operating system. This allows subject process information to be accessed independently without modifying the core target OS, thus maintaining stability while achieving compatibility.
Solution Approach 2:
The patent introduces an intermediary virtual filesystem layer that mediates between subject code references and target OS processes. This intermediary layer translates subject filesystem references into appropriate target OS operations, enabling compatibility without direct modification of the target OS and preserving its stability.
2Adaptability or versatility
If a process filesystem is provided for subject code, then code compatibility is improved, but device complexity increases
Solution Approach 1:
The patent creates a virtual copy of the subject process filesystem structure within the target OS environment. Instead of implementing a completely new complex filesystem, it replicates the essential proc filesystem structure and populates it with translated process information, simplifying the implementation while maintaining compatibility.
3Ease of operation
If translator processes are distinguished in the target process filesystem, then process management is improved, but difficulty of detecting and measuring increases
Solution Approach 1:
The patent applies local quality by giving translator processes a distinct characteristic marker within the virtual filesystem - specifically, translator processes appear as directories named after the subject processor type within the proc filesystem. This localized distinction makes translator processes easily identifiable without requiring complex detection mechanisms throughout the entire system.
Data Source
AI summary
A technique is provided for administering references to a subject process filesystem during translation of subject code into target code in a dynamic binary translator. The subject code for execution on a subject processor is received by a translator, and corresponding target code for execution on the target processor is generated. The translator is arranged to establish, populate and maintain a process data structure, so that code can be generated by the translator in which subject references to the subject process filesystem are handled effectively.


