📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  IDA Pro  >>  Microware OS-9 library functions code

Topic created on: April 28, 2008 07:17 CDT by memo5 .

Hello All
I am working on a program run on microware os9 operating system.
I have disassembeld the program using IDA, The program use Trap instruction to call functions in other libraries like MATH, CIO...
as you know every library has a special id
math library for example use trap #$F
the trap instruction followed by a word this word is the function special number.
What I need is a document contains a list of this functions numbers, so I can replace this numbers with the original function names, making the output more readable.
so any one know where to find this info.

  memo5     May 1, 2008 17:25.44 CDT
Any one can help please.

  nezumi     May 1, 2008 18:18.40 CDT
ask for asm/linker, who definitely knows the number of every function :-]
or, if you're dealing with trickily program - disasm the trap handler.
anyway, check it out: OS-9 Assembler/Linker and User Trap Handlers.

if this will not help you, well, ask me again.

  memo5     May 2, 2008 10:41.44 CDT
Thank you nezumi:
I have read this docs before, but could not find what I really need.
As you can read /OS9_Assembler-Linker_Users_Manual.pdf/page 68.
tcall is a built-in macro to generate trap calls.User traps are used to access the os-9 standard library modules (cio, math...)
or user written trap handlers. tcall has tow arguments, a vector number (0-15) and a function code. The output is equivalent to the instruction sequence:
trap #<vector>
dc.w <function>
and this what I get when IDA disassemble the program file, many trap calls.
so I need the functions codes for os-9 standard library modules (CIO, MATH...) if it possible.

  memo5     May 5, 2008 07:42.33 CDT
Any one know any link to download the 0s-9 library moduls so I can extract the function codes my self.

  nezumi     May 5, 2008 08:00.05 CDT
Microware OS-9 Development Suite Data Sheet

# Evaluation Package
RadiSys provides a 60-days FREE evaluation of the OS-9 Development Suite. Request your copy and experience the new Eclipse, Ultra C/C++ and Hawk integrated development environment for OS-9.

  memo5     May 5, 2008 13:27.42 CDT
You are so smart nezumi, but I can read too.

  nezumi     May 5, 2008 17:14.08 CDT
to convert numbers to the names you need a developer kit, and RadiSys offers you to get a free CD. what's the problem? well, if you don't like RadiSys very much or don't want to order CD, well, use CodeWarrior Development Studio. it supports Microware OS-9 since 1997 and offers you to download a free trail. download it, (registration needed) and search every header file related to target:targetOSOS9.

  memo5     May 5, 2008 17:25.50 CDT
Ok that is new news. thank you nezumi.

  nezumi     May 5, 2008 20:27.59 CDT
btw, gcc supports Microware OS9 as well, since 2.4 version,
however, I checked a dozed Linux/BSD distributives,
and not found the headers for the OS9 target.
my Net is quite expensive to download the whole gcc,
however, if you have the cheap Internet, you might to try this way.

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit