Flag: Tornado! Hurricane!

 Forums >>  Target Specific - General  >>  Patching Java Class File compiled with debug info

Topic created on: February 28, 2011 08:00 CST by ronnie291983 .

I have a class file containing debug info such as linenumber table, localvariable table.

I am using CCK (class constructor kit) to patch the class file, when i try patch the class it throws an error that the line has "targeters", so when i removed the reference of the line from linenumber table and localvariable table, i was able to patch it, but any modification to these data structures cause a fault when i try to read the file again using CCK.

Even removing a line from linenumber table makes the particular method unreadable.

What all data structures needs to be fixed when code is patched?

Any help in how to patch such files will be greatly appreciated.

No posts found under this topic.
Note: Registration is required to post to the forums.

There are 29,950 total registered users.


Recently Created Topics
Disassembling Motoro...
Jun/13
ida plugin writing f...
Jun/02
New version of RE-Go...
May/29
Decompiling raw bina...
May/22
Incorrect bitness wh...
May/20
PaiMei stalker modul...
May/19
Attach to program us...
May/13
IDA PRO how to make ...
May/12
FACT: OpenRCE is dead.
May/08
Int 3 anti debug?
May/05


Recent Forum Posts
Good Binary Code Pro...
alton
Int 3 anti debug?
SteveIRQL
Attach to program us...
SteveIRQL
Ollydbg 2.0 - Plugin...
openrce...
IDA PRO how to make ...
codeinject
FACT: OpenRCE is dead.
codeinject
IDA Resource Viewer ...
r2x64
FACT: OpenRCE is dead.
djnemo
FACT: OpenRCE is dead.
codeinject
FACT: OpenRCE is dead.
pedram


Recent Blog Entries
lowpriority
Apr/13
OllyMigrate Plugin for Olly...

everdox
Mar/08
2 anti-trace mechanisms spe...

everdox
Mar/07
Advanced debugging techniques

everdox
Mar/06
Branch tracing and LBR acce...

everdox
Mar/05
Using pre-paged in virtual ...

More ...


Recent Blog Comments
newlulu on:
Jun/10
Branch tracing and LBR acce...

newlulu on:
Jun/10
Advanced debugging techniques

newlulu on:
Jun/10
2 anti-trace mechanisms spe...

newlulu on:
Jun/10
OllyMigrate Plugin for Olly...

clarisonic on:
Apr/03
New version of Ollydbg!

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit