How to see the native code?
Hi all,
I am very new to JNI. Actually i am doing a debugging task and has to understand the flow of the application.
I got a set of class files from which i decomplied the required class and got the java program. But that java file in turn calls a native method. It loads the .sl file in the static block.
I created the .h file from the class file and came to know that the native method is written in C++.
Is it possible to see what is written in that C++ native method? i posted the topic under JNI, but i didnot got any reply.
Is it possible to see what is written in that C++
native method?You can decompile it...
By the way: if you have to decompile something it means that you don't have the sources, which means to me that in most cases, the code isn't yours. Which means in many cases, this decompiling might be illegal.
Similar Messages
-
How to see the source code of procedure
how to see the sourse code of already created procedure or function
Select text
from all_source
where owner = '<Procedure owner>'
and type = 'PROCEDURE'
and name = '<Procedure name>' -
How to see the complete code behind the tile?
Hi All,
I am working on MSA 4.0. I am able to see the code by double clicking on the methods in the tile but unable to view the complete code behind the tile. I want to see the complete code behind the tile. Can anyone help me with this?
Best regards
VasudhaHi Boyai,
Thanks for the reply. I am able to open the code. Two VBA windows for UI and BOL source code are opened.
1) I compiled the code.
2) I selected a particular tile. The methods , event handlers are displayed there.On double clicking one of the method i am able to view a particular code.
But i want to view the complete code behind that tile like in MSA 5.0 when we right click on the tile-> view code.
How can i view the complete code behind the tile in MSA 4.0?
Best Regards
Vasudha. -
How to see the source code in the API?
Is it possible to see the source code for the String class in the Java API 1.4.2 somehow?
one of the IDE's I have is GEL (gexperts.com), all you do is
Search/Go To Class/
select the class String, and the source code is displayed.
pre-requisite is you have to specify the location of the api docs on your pc when
installing GEL -
How to see the ABAP Code behind SAP Exit Variables.
Hi Everyone.
I was wondering if anyone could help me with the steps to see the ABAP Code behind a SAP Exit Variable.
Sometime back I remember of going to Transaction SE37 - Function Module and give the Variable name,
Eg: 0F_ADAY, Hit F4 or something like that and was able to see the ABAP Code/Function Module/Exit written for that Variable.same
But today I tried to do the same thing to see the code for Variable 0P_FVAEX but I was NOT able to see it.
I think I am missing something.
Can someone help me recollect what I am missing.
Thank You for your time
NOVICEHi bi novice,
big sorry for the late reply!
The following variables are defined in function module RREX_VARIABLE_EXIT as case statement:
'0CMONTH', '0CWEEK', '0CYEAR', '0CQUART', '0DAT', '0CWD', '0FYEAR', '0FPER', '0FYTCFP',
'0FYTLFP', '0FYTCD', '0CYTCM', '0CYTLM', '0CYTCD', '0LYTCLD', '0CMONTHT', '0CWEEKT', '0CYEART', '0CQUARTT', '0DATT', '0FYEART', '0FPERT'
Best regards,
Andreas -
How to see the abap code in sql language.
hello gurus,
very simply put,i dont know sql,but have to write some basic select queries to talk to oracle db...
i would like to see the SQL transaltion of the ABAP code which i cant write.
for eg: SELECT SINGLE * FROM MARA WHERE MATNR = 'XXXX'.
How wud u write this on ORACLE.
i would also like to see for all entries etc...
NOW,i have tries st05..it doesnt give meaningful sql..
pls helphai
i wrote this in se38
report zdsd.
data wmatnr type mara.
select single * from mara into wmatnr where matnr = '0001'.
write wmatnr.
_from st05_
41 PROGDIR REOPEN 0 0 SELECT WHERE "NAME" = 'ZTEST123' AND "STATE" = 'A'
1,182 PROGDIR FETCH 1 0
4 DWINACTIV REOPEN 0 0 SELECT WHERE "OBJECT" = 'REPS' AND "OBJ_NAME" = 'ZTEST123'
592 DWINACTIV FETCH 0 1403
8 MARA REOPEN 0 0 SELECT WHERE "MANDT" = '001' AND "MATNR" = '0001'
9,388 MARA FETCH 1 0
i would like
select matnr
into :vi_matnr
from PPS_SUB_BDZ.lm1_lagerpl
where matnr = '0001'
basicaly i need to work on new database (NON SAP) by making connections..
i write the code in FM's in ABAP.
I write Select queries between EXEC SQL. and
ENDEXEC.
I have to use SELECT SINGLE...FOR ALL ENTRIES ...counterparts now... -
How to see the procedure code ?
Hi all i have created a stored procedure .
How can i see the code of that procedure ?
I mean in which user_object is it stored ?
SriniI did my stored function code several months ago, and accidently deleted it from my body of SQL/DDL files.That's why Nature gave us source control. Next time you may not be so lucky: the reason why you need to find the source might be because someone's dropped it from the database. Or they might have wrapped the code so the source is unreadable.
Of course, it maybe that rewriting a procedure results in a better, more elegant solution. I know I often feel that if only I had the time, I would love to rewrite large swathes of my current project. But, unlike the professor in Insignificance, few of us have the luxury. Obviously there are other benefits to source control other than not having to rewrite lost code (configuration management is the other main one). Whatever. A lot of people seem to like Subversion, perhaps because it's free.
Cheers, APC
Message was edited by:
APC -
I want to see the source code of JVM
Can anyone tell me how to see the source code of JVM, but not the src.zip that including in the java libraries. I just want to know how Java is implemented.
Thanks a lot for any answer.You can get the source code (written in C++) of Sun's VM under the Community Licence arangement. Not sure quite where it is on this site, but if you look for it, I'm sure you'll find it.
BTW, it's not easy reading.
Sylvia. -
Hi Frendz..
I want to know how we can build a callable obj which have a two buttons those r Accept n Reject accordiing to the actions on these buttons flow should forward to next screen(approver ) r sent back to the sender(screen with reject).
I gone thru the Leave process(Time-Off process) which is very suitable for my requirment but in this app there r using predefined CO(com.sap.caf.eu.gp.example.tiimeoff.wd.create).How we see the source code of this predefined CO.
Thanks in Advance
Regards
RajeshHi,
check [this|Re: Source of Time-off Request Project].
Regards,
Naga -
Hi Frendz..
I want to know how we can build a callable obj which have a two buttons those r Accept n Reject accordiing to the actions on these buttons flow should forward to next screen(approver ) r sent back to the sender(screen with reject).
I gone thru the Leave process(Time-Off process) which is very suitable for my requirment but in this app there r using predefined CO(com.sap.caf.eu.gp.example.tiimeoff.wd.create).How we see the source code of this predefined CO.
Thanks in Advance
Regards
Rajeshnot answered
-
How to see the source of the attribute in a workflow
Here is an workflow function which is defined as follows
Item Type :HR
Internal Name: HR_MAINTAIN_MAIN_ADDR_JSP_FCT
Function Name: HR_WORKFLOW_SERVICE.BLOCK
Node Attributes :
Name: HrActivity Type: value: JSP
Name: HrActivityTypeVAlue Value:HR_MAIN_ADDR_TOP_SS
I do not find that HR_MAIN_ADDR_TOP_SS is mapped to any OAF page
What is HR_MAIN_ADDR_TOP_SS?
How to see the source code of HR_MAIN_ADDR_TOP_SS. Is there any SQL query to get the source of this.http://hostname:8027/OA_HTML/OA.jsp?_rc=HR_MAIN_ADDR_ACT_TYPE_TOP_SS&_ri=800&OAFunc=XXCHR_ESS_PER_INFO&_ti=1902574799&retainAM=Y&addBreadCrumb=N&oapc=11&oas=zgiSEq6kVqEuZNnwZ5lP5g..
what is HR_MAIN_ADDR_ACT_TYPE_TOP_SS in the above URL -
How to view the source code for Native Method
hi
i am using some native methods in to my code ;
can anybody tell me how to view the source code for the same ;
nikBuy/acquire a C/C++/assembly code disassembler and run the shared library through it.
-
How do I see the source code for 'NI Example Finder'?
At the LabView Express demo, the rep showed us how to view the source code for 'NI Example Finder' (started with Help, Find Examples...). Please refresh my memory.
--toddThere are a couple of VI's that shipped with LabView 7.0, but you can't see the diagrams.
C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\Run Example Finder__NATIONAL INSTRUMENTS.vi
Press Ctrl-E on this VI and it prompts you for a password.
This VI is run by C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\HelpServer__NATIONAL INSTRUMENTS.vi
There's also C:\Program Files\National Instruments\LabVIEW 7.0\help\_exfinder.llb\Example Finder Launcher.vi.
Tyring to open this VI starts the NI Example Finder. Note the taskbar icon which is different from the normal VI icon.
It seems like NI is trying to keep us out, even if it used LabView to develop the Example Finder. -
How do I see the source code in a Digital Edition doc?
First let me say that as an author, I'm a huGe fan of DRM and anything else that protects my ability to feed my family by allowing me to control who can sell my copyrighted works.
But.....I'm creating a book that I hope will eventually be accessed through Adobe Digital Editions and I would like to see what the books look like from the backside. Usually I go into Sigil to have a look at the coding of books whose layout I like.... but because of DRM I can't see the source code in any of the books in my Digital Library. So, is there a way to take a peek at the coding of a Digital Library book? I don't care about the content, only how the CSS and HTML are done.
Thanks
RSYou're welcome
-
How to catch Exception inside the native code
Hello,
I have an error of unexpected exception during running native code,it occurrs randomly, not every time.
the error text is:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x9535F359
Function=acy_match+0xC6
Library=/usr/lib/libNegativeMatcher.so
I don't know what exactly cause the crash inside the c code but I think it might be memory leak . What I'm concern is that this exception cause program termination.
I have few questions:
1. This exception cause the java program to end. How can I catch this exception and avoid program termination?
2. What is 0xC6 in:
Function=acy_match+0xC6
and PC=0x9535F359?
Can it help me track the problem inside the native code?
Thanks for your help.An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x9535F359
Function=acy_match+0xC6
Library=/usr/lib/libNegativeMatcher.so
I don't know what exactly cause the crash inside the
c code but I think it might be memory leak . What
I'm concern is that this exception cause program
termination.I doubt it is a memory leak (actually I am rather certain that another error would occur if it was just memory exhaustion.)
I have few questions:
1. This exception cause the java program to end. How
can I catch this exception and avoid program
termination?I suspect that would be a really bad idea. That particular signal very likely indicates that you have corrupted memory. Continuing is unlikely to work.
2. What is 0xC6 in:
As a guess it is an offset into the compiled code which indicates where the memory problem was detected.
That it unlikely to help you with a pointer/memory problem because that is where it was detected and not where it happened. By comparing the source you might be able to determine what was bad and then trace it back.
Maybe you are looking for
-
Standard def STB repeatedly blacks out for a second or 2
A site search on "black out" does not turn up a similar issue, of course it may be my search skills are lacking. New subsciber since Sep 2010. I have 3 boxes, 2 standard QIP2500 phase 3 (basement/MBR) and 1 hi-def (LR). Hi def TV in MBR, standard
-
Logon Error while importing data
Hello, I have "Countries" flat table in my repository containing 2 fields Name & ISO Code. I wanted to import data i.e. Name & ISO Code in this flat table via Import Manager. I have excel file containing Name & ISO Code data. While importing data, I
-
IPad 2 in for repair came back with no card
Had to send iPad 2 in for crack on edge of devise... Received it back today. On upper left side it reads. No sim. And I cannot connect to my AT&T Any suggestions? Where is the sim card
-
Hi, I am having dual boot on my PC for xp and linux. I have installed oracle 10g on xp. Now My question is : 1.Can I access oracle from Linux operating system with sql commands and throughshell. 2.Is it required me ti install separate oracle10 db on
-
Can't upload photos from iPhone or camera disk after installing iPHoto 9
I installed iPhoto 9 from iLife 11 last week Since the installation (and subsequent installation of 9.0.1), I have not been able to upload photos from my iPhone 4 nor my camera SD card to my iPhoto library. When I plug in my iPhone or camera disk, I