GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering


GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 02-09-2006, 11:38   #1 (permalink)
Freak Poster
 
Join Date: Jul 2004
Age: 52
Posts: 126
Member: 75583
Status: Offline
Thanks Meter: 6
Nokia Object Oriented Model by Yak


8310v620


/*
Nokia Object Oriented Model
---------------------------

Such object oriented model can be found in most if not all DCT4 phones and also in 7110/6210 (DCT3).

Reversed by [Yak]
*/


typedef struct
{
Class *Class;
// Object's private data follow
} Object;

typedef struct
{
unsigned short ID;
unsigned (*Handler)(Object *This, unsigned short MethodID, unsigned Arg0, unsigned Arg1, unsigned Arg2);
} Method;

typedef struct
{
Class *Class;
Class *SuperClass;
Method *Methods; // table of methods, last one has ID == M_C_END
unsigned short MethodsCount;
unsigned short ObjectSize;
char *Name;
} Class;


/* calling methods on objects */
unsigned DoMethod(Object *O, unsigned short MethodID);
unsigned DoMethod1(Object *O, unsigned short MethodID, unsigned Arg0);
unsigned DoMethod2(Object *O, unsigned short MethodID, unsigned Arg0, unsigned Arg1);
unsigned DoMethod3(Object *O, unsigned short MethodID, unsigned Arg0, unsigned Arg1, unsigned Arg2);

/* calling methods of superclass; used in class methods handlers */
unsigned DoClassSuperMethod(Class *C, Obejct *O, unsigned short MethodID, unsigned Arg0, unsigned Arg1, unsigned Arg2);

#define M_IS_OF_CLASS (0xC000)
#define M_GET_METHOD_HANDLER (0xC001)
#define M_GET_CLASS (0xC002)
#define M_NEW (0xC003)
#define M_CONSTRUCTOR (0xC004)
#define M_DELETE (0xC005)
#define M_DESTRUCTOR (0xC006)

#define M_C_END (0x0000)
#define M_C_ANY (0xffff)

/*
M_IS_OF_CLASS
-------------

ret = DoMethod1(object, M_IS_OF_CLASS, class);

Checks if <object> is derived from specified <class>. Returns 1 if yes or 0 if no.


M_GET_METHOD_HANDLER
--------------------

handler = DoMethod1(object, M_GET_METHOD_HANDLER, method_id);

Returns the method handling function pointer for specified <method_id>. Returns
NULL if <object> doesn't support <method_id> method.


M_GET_CLASS
-----------

class = DoMethod(object, M_GET_CLASS);

Returns a pointer to <object>'s class.


M_NEW
-----

object = DoMethod(former, M_NEW);
object = DoMethod1(former, M_NEW, space);
object = DoMethod2(former, M_NEW, space, arg1);
object = DoMethod3(former, M_NEW, space, arg1, arg2);

Creates a new object and returns a pointer to it. The <former> can be either an
already existing object of some class or directly a class pointer. If <space>
is specified and not NULL, no memory is allocated, instead, the object is
created at the address specified by <space> (be sure to have enough space there).
After creating, M_CONSTRUCTOR method is called. All the arguments are passed to it.


M_CONSTRUCTOR
-------------

DoMethod(object, M_CONSTRUCTOR);
DoMethod1(object, M_CONSTRUCTOR, arg0);
DoMethod2(object, M_CONSTRUCTOR, arg0, arg1);
DoMethod3(object, M_CONSTRUCTOR, arg0, arg1, arg2);

Initializes an object. If called from M_NEW received its <space> argument as
<arg0>.


M_DELETE
--------

DoMethod(object, M_DELETE);

Deletes an object. However, before it is done, M_DESTRUCTOR is called to
deinitialize the object (free its all resources).


M_DESTRUCTOR
------------

DoMethod(object, M_DESTRUCTOR);

Deinitializes an object.


M_C_END
-------

Special ID used to mark the end of methods table in a class.


M_C_ANY
-------

Special ID used to mark a method in methods table of a class. Such a method will
be called for any method called on the object.

*/

/*
Addresses:

DoMethod() .............: 8310 v6.20 at 0x12cec02
DoMethod1() ............: 8310 v6.20 at 0x12cebdc
DoMethod2() ............: 8310 v6.20 at 0x12cebb4
DoMethod3() ............: 8310 v6.20 at 0x12ceb8c

DoClassSuperMethod() ...: 8310 v6.20 at 0x12cec24

Object (abstract) ......: root class, all other are subclasses of this one.
8310 v6.20 at 0x14e215c
*/

thanks to yak, this came from his post at nokiafree.org

regards

http://www.blutacgsm.net/forums/show...?p=587#post587

or

http://nokiafree.org/forums/t79028/h/s.html
  Reply With Quote
Old 02-09-2006, 12:42   #2 (permalink)
No Life Poster
 
Zaihtam's Avatar
 
Join Date: Dec 2004
Location: 0x001FD00
Posts: 1,285
Member: 98572
Status: Offline
Thanks Meter: 36
Little by little, all will be reversed.
  Reply With Quote
Old 03-01-2006, 05:12   #3 (permalink)
Freak Poster
 
Join Date: Jul 2004
Age: 52
Posts: 126
Member: 75583
Status: Offline
Thanks Meter: 6
[alphaRelease] DCT4 Object Analyzer

updated....

check this link..

http://krisha.dyndns.org/handy/dct4_object_analyzer.exe
http://krisha.dyndns.org/handy/QtDlls.zip
http://krisha.dyndns.org/handy/zeph.exe

or visit here...http://www.gsmfreeboard.com/forum/sh...d.php?t=123330
  Reply With Quote
Old 03-01-2006, 08:11   #4 (permalink)
No Life Poster
 
Zaihtam's Avatar
 
Join Date: Dec 2004
Location: 0x001FD00
Posts: 1,285
Member: 98572
Status: Offline
Thanks Meter: 36
@watusi2

krisha's server uses dynamic ip, offline all the time, can you upload the file?

thanks, for nice news, and update
  Reply With Quote
Old 03-01-2006, 10:10   #5 (permalink)
Freak Poster
 
Join Date: Jul 2004
Age: 52
Posts: 126
Member: 75583
Status: Offline
Thanks Meter: 6
other file is big ...give me ur mail???

pls chenge rar to exe
Attached Files
File Type: rar zeph.exe.rar (67.5 KB, 74 views)
File Type: rar dct4_object_analyzer.exe.rar (44.5 KB, 52 views)
  Reply With Quote
Old 03-01-2006, 11:15   #6 (permalink)
No Life Poster
 
Zaihtam's Avatar
 
Join Date: Dec 2004
Location: 0x001FD00
Posts: 1,285
Member: 98572
Status: Offline
Thanks Meter: 36
irpaj.zaihtam(at)gmail.com

thanks... a lot mate..
  Reply With Quote
Old 03-01-2006, 11:22   #7 (permalink)
iki
No Life Poster
 
iki's Avatar
 
Join Date: Apr 2004
Location: Skopje , Macedonia
Age: 40
Posts: 916
Member: 61851
Status: Offline
Sonork: 100.1604862
Thanks Meter: 117
Can you please also send me,I want to try something.
iledimoski(at)gmail.com Thanks

I found it no need to send it.Thanks again for info about it
  Reply With Quote
Old 03-01-2006, 11:23   #8 (permalink)
No Life Poster
 
Dave.W's Avatar
 
Join Date: Nov 2001
Location: England
Age: 41
Posts: 2,821
Member: 7653
Status: Offline
Thanks Meter: 823
http://www.picogsm.co.uk/QtDlls.zip
  Reply With Quote
Old 03-02-2006, 13:38   #9 (permalink)
No Life Poster
 
Zaihtam's Avatar
 
Join Date: Dec 2004
Location: 0x001FD00
Posts: 1,285
Member: 98572
Status: Offline
Thanks Meter: 36
Thanks Dave.
  Reply With Quote
Old 03-02-2006, 16:00   #10 (permalink)
No Life Poster
 
Dave.W's Avatar
 
Join Date: Nov 2001
Location: England
Age: 41
Posts: 2,821
Member: 7653
Status: Offline
Thanks Meter: 823
welcom
.................................................. ...
  Reply With Quote
Old 03-10-2006, 04:41   #11 (permalink)
Freak Poster
 
Join Date: Jul 2004
Age: 52
Posts: 126
Member: 75583
Status: Offline
Thanks Meter: 6
new updated to rev 0.45
  Reply With Quote
Old 03-10-2006, 09:55   #12 (permalink)
No Life Poster
 
Zaihtam's Avatar
 
Join Date: Dec 2004
Location: 0x001FD00
Posts: 1,285
Member: 98572
Status: Offline
Thanks Meter: 36
really? wow, in the future maybe it will be able to draw the UML diagrams.
  Reply With Quote
Old 03-10-2006, 09:58   #13 (permalink)
Junior Member
 
Join Date: May 2005
Posts: 6
Member: 142832
Status: Offline
Thanks Meter: 1
ISP had some problems, server should now work again.

*updated to version 0.7*
same url

changes:
- speeded up loading of decrypted flash files
- added XReferences
- find will scroll to the first discovery
- Save as Textfile added, so you now can edit, name the Objects, save it and share with others
- some other improvements
  Reply With Quote
Old 03-10-2006, 10:01   #14 (permalink)
No Life Poster
 
Zaihtam's Avatar
 
Join Date: Dec 2004
Location: 0x001FD00
Posts: 1,285
Member: 98572
Status: Offline
Thanks Meter: 36
wow, nice job krisha.

but your dynamic ip server can't be reach from here.
  Reply With Quote
Old 03-10-2006, 10:06   #15 (permalink)
Junior Member
 
Join Date: May 2005
Posts: 6
Member: 142832
Status: Offline
Thanks Meter: 1
strange .
Attached Files
File Type: zip dct4_object_analyzer.zip (29.0 KB, 48 views)
  Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open source my OIOIC, a completely new object-oriented mechanism for the C. pervise.zhao GSM Programming & Reverse Engineering 1 05-22-2009 07:13
Introduction to Object Oriented Programming ::Yasir:: GSM Programming & Reverse Engineering 48 05-22-2009 06:56
NokiX SDK V2 and Nokix 1.3 release by yak watusi2 GSM Programming & Reverse Engineering 8 03-10-2007 04:55
NokiX SDK V2 beta version release by yak watusi2 GSM Programming & Reverse Engineering 0 12-27-2005 04:49

 



All times are GMT +1. The time now is 02:07.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.23055 seconds with 10 queries

SEO by vBSEO