bochs-call-log-formatter
🖨️ A PowerShell script used to add the corresponding function names to Bochs call logs with the help of the Linux "nm" command.(利用Linux的nm命令,用于为Bochs调用日志添加函数名称的PowerShell脚本。)
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.4%) to scientific vocabulary
Keywords
Repository
🖨️ A PowerShell script used to add the corresponding function names to Bochs call logs with the help of the Linux "nm" command.(利用Linux的nm命令,用于为Bochs调用日志添加函数名称的PowerShell脚本。)
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Bochs Call Log Formatter
Introduction

This script can add the corresponding function names to Bochs call logs with the Linux nm command and a provided executable module.
Usage
Suppose we have an executable module called kernel.bin which is running in Bochs.
After enabling call logging with the show call command, Bochs can generate call logs such as:
console
00016253385: call 0008:c0003dba (0xc0003dba) (phy: 0x000000003dba) unk. ctxt
00016253389: call 0008:c0001566 (0xc0001566) (phy: 0x000000001566) unk. ctxt
00016253399: call 0008:c0003dec (0xc0003dec) (phy: 0x000000003dec) unk. ctxt
It is inconvenient for users because Bochs does not display function names.
To match each function address and its name, we can copy call logs to a file call.log and run:
console
PS> .\Format-CallLog.ps1 -ModulePath 'kernel.bin' -LogPath 'call.log'
The formatted logs will be written to the pipeline.
console
00016253385: call 0008:c0003dba (0xc0003dba) (phy: 0x000000003dba) unk. ctxt [_function1]
00016253389: call 0008:c0001566 (0xc0001566) (phy: 0x000000001566) unk. ctxt [_function2]
00016253399: call 0008:c0003dec (0xc0003dec) (phy: 0x000000003dec) unk. ctxt [_function3]
License
Distributed under the MIT License. See LICENSE for more information.
Owner
- Name: Zhuagenborn
- Login: Zhuagenborn
- Kind: organization
- Location: Ireland
- Repositories: 3
- Profile: https://github.com/Zhuagenborn
Software Development | Artificial Intelligence | Reverse Engineering.
Citation (CITATION.cff)
cff-version: 1.2.0 authors: - family-names: Chen given-names: Zhenshuo orcid: https://orcid.org/0000-0003-2091-4160 title: Bochs Call Log Formatter date-released: 2024-02-25 url: https://github.com/Zhuagenborn/Bochs-Call-Log-Formatter
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0