Reading the listi contents from Dbx

There is one way I can save my optimization initiation with my product. Is there any simple way to associate the register variables to the actual local variables.
In this scenario which values correspondes to "len" ....
(dbx) n
stopped in main (optimized) at line 29 in file "fileex.cc"
29 int len = ftell(myfp);
(dbx) listi
int len = ftell(myfp);
0x00010fe4: main+0x0084: call ftell [PLT] ! 0x217a8
0x00010fe8: main+0x0088: mov %l7, %o0
0x00010fec: main+0x008c: mov %o0, %i0
Thank you

In optimized code, there is usually no simple relationship between registers and auto variables. For example, an auto variable might be kept in one register for part of a function, and in another register elsewhere in the function -- or not in any register at all, if flow analysis can eliminate the use of the variable.
You can usually tell what is happening around a function call if you are familiar with assembler code for the platform, however. Let's consider your sample code.
On sparc, the instruction after a call or jmp is executed before the call or jmp if it is in the "delay slot". The first function parameter, if it fits in a register, is passed in register %o0. The return value of a function, if it fits in a register, is found in register %o0.
So in your example, register %i7 is passed to function ftell as the first parameter, so it corresponds to myfp. The returned value is in %o0, and is stored in len. It appears that in this section of code, len is in register %i0.

Similar Messages

  • I can't get iTunes to list content from the library on my backup HD.

    My old G5 crashed but I pulled the hard drive.  I've got a mini now and I want iTunes to read the content from the second drive (using a dock).  I can pull up one song at a time and it comes up in the Library under Music no problem. But I'd like the Library interface to pick up and read the media directly from that drive.  I've tried redirecting under 'Advanced Preferences' but the Music Library doesn't seem to see anything. Any ideas for a computer novice? Thanks.

    Hold Option and launch iTunes.
    Select Choose library and select the iTunes folder on the external.

  • From where does exachk reads the list of stoage nodes that should be checked ?

    exachk automatic tries to check a storage node thats closed. From where does exachk reads the list of stoage nodes that should be checked ?

    Great! you found it and thanks for sharing the location. 
    Did you find it thought script or Google? 

  • Iphone 4s coming friday, what is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across.

    What is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across. If I do a restore as I have when previously from one iphone to another it has shown (in settings, usage) the cumulative usage from previous phones so all the hours of calls on all previous iphones will be displayed even though its brand new. Anyone know how I can get my notes (from standard iphone notes app) to my new iphone 4s without restoring from previous iphone 4. Thanks for any help offered.

    First, if you haven't updated to iTunes 10.5, please update now as you will need it for the iPhone 4S and iOS 5.
    Once you're done installing iTunes 10.5, open it. Connect your iPhone to iTunes using the USB cable. Once your iPhone pops up right click on it. For example: an iPhone will appear and it will say "Ryan's iPhone."
    Right click on it and select "Backup" from the dropdown menu. It will start backing up. This should backup your notes.
    Please tell me if you have any problems with backing up.
    Once you backup and get your iPhone 4S, you must follow these steps. If you don't follow these steps, you will not be able to get your notes on your new iPhone 4S.
    Open up iTunes again then right click on your device (iPhone 4S). Once you do you will see a dropdown menu. It will say "Restore from Backup..." Select this and it'll ask for a backup, select it from the dropdown menu. For example "Ryan's iPhone - October 12, 2011." Pick that and it will restore to your backup. Do this when you get your iPhone 4S so you will not lose anything. Even though you're restoring, you're getting back, since you're getting the previous settings, notes, contacts, mail and other settings from your old iPhone. You'll still have Siri though! So, restore when you first get it. Also frequently backup your device, as it will be worth it. You can restore from a backup if something goes wrong or save your data for a future update.
    Once you do that, you should have your notes on your new iPhone 4S and iOS 5.
    Please tell me if you need any help.
    I hoped I answered your questions and solved your problem!

  • Elements 10 can not read the raw-files from my Sony a-57

    The raw-converter is updatet to 6.7 and according to Adobe it should be able to read Sony a-57. When I got Elements 10, a file had to be moved so it could read the raw-files from my Minolta 5D. Can this be the cause of the problem ? What to do ?

    What version of ACR does Help / About Plug-ins… / Camera Raw… show you, and is more than one Camera Raw listed in About Plug-ins…?

  • Read the entire content of XML Form progamatically

    Hi,
    I want to write a program which can read the entire content of XML Form.
    In some of the xml form, some entity like Title etc are coming from Metadata property.
    But i want to read everything through the java code.
    I can read the xml file, but it doesnot give me information on Title,  as its coming from metadata property.
    Any help in this regard will be highly appreciated.
    Thanks and Regards
    Puneet

    Question opened for long, so closing it

  • What does this Adobe Muse error message mean: MuseJSAssert: Error calling slector function:SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with orign "null" from accessing a cross-origin frame.

    So what is up with this error message in Muse?
    MuseJSAssert: Error calling slector function:SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Blocked a frame with orign “null” from accessing a cross-origin frame.

    This is a genuine security error generated by the browser when viewing a page with iFrame content locally.
    Please refer to Zak's reply in the following thread: https://forums.adobe.com/message/6496180#6496180
    Cheers,
    Vikas

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • Read the job Z_JOB from SM37 and re-schedule dynamically

    Hi All,
    I have one requirement where I need to schedule a job in background. The job Z_JOB has 10 steps in it and each step itu2019s calling different program with a variant. Now I need write a Z program to re-schedule the Z_JOB dynamically.
    I know how to schedule the job with multiple steps through program. (JOB_OPEN, Submit Statement, JOB_CLOSE). But my question is there any other way to read the job Z_JOB from SM37 and re-schedule dynamically. So that I can avoid this 10 SUBMIT programu2026??
    Thanks in Advance,
    Raghu.

    Hello Raghu  ,
    JOB_OPEN ( Opens  a BG job )
    JOB_SUBMIT ( Insert a background Task)
    JOB_CLOSE (Closes a BG job)
    Are the 3 function module by with you can create a have  a bg job sheduled programatically...!
    Hope it helps
    Edited by: Anup Deshmukh on May 3, 2010 12:36 PM

  • Error while executing SSIS package - Error: 4014, Severity:20, State: 11. A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)

    Hi,
    We are getting the following error when running our SSIS packages on Microsoft SQL Server 2012 R2 on Windows Server 2008 R2 SP1:
    Error: 4014, Severity:20, State: 11.   A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)
    SQL Server Data Tools and SQL Server Database Engine reside on the same server.
    We tried the following:
    Disabling TCP Chimney Offload
    Installed Windows Server 2008 SP1
    Splitting our SSIS code into multiple steps so it is not all one large continuous operation
    The error occurs during a BulkDataLoad task.
    Other options we are investigating with the engineering team (out-sourced, so delayed responses):
    Firewall configurations (everything is local, so this should not make a difference)
    Disabling the anti-virus scanner
    Are there other things we can try?
    Any insight is greatly appreciated.
    Thanks!

    Hi HenryKwan,
    Based on the current information, the issue can be caused by many reasons. Please refer to the following tips:
    Install the latest hotfix based on your SQL Server version. Ps: there is no SQL Server 2012 R2 version.
    Change the MaxConcurrentExecutables property from -1 to another one based on the MAXDOP. For example, 8.
    Set "RetainSameConnection" Property to FALSE on the all the connection managers.
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/774370/ssis-packages-abort-with-unexpected-termination-message
    If the issue is still existed, as Jakub suggested, please provide us more information about this issue.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • On windows 8 and itunes I have importing problems the DVD is only reading the music cd from 1.5x to 4.0x for 95% of the time, it does hit speeds of 30x for the other 5% of the time. Is it a driver issue with the DVD or is it  a windows 8 issue?

    on windows 8 and itunes I have importing problems the DVD is only reading the music cd from 1.5x to 4.0x for 95% of the time, it does hit speeds of 30x for the other 5% of the time. Is it a driver issue with the DVD or is it  a windows 8 issue?

    No. You have no alternative but to plug it into a computer running iTunes and restore it.

  • Reading the printer name from the registry

    Hi,
    I am trying to use the following program to get the Printer name from my Registry.. this program has been taken from Forums.
    package yourpackage;
    import java.awt.Graphics;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import java.awt.print.PrinterException;
    import java.awt.print.PrinterJob;
    import oracle.forms.ui.VBean;
    import oracle.forms.properties.ID;
    public class printDialog extends VBean
    private static final ID PRINTER = ID.registerProperty("PRINTER");
    public printDialog()
    class PrintObject implements Printable
    public int print (Graphics g, PageFormat f, int pageIndex)
    return NO_SUCH_PAGE;
    public Object getProperty(ID id)
    if (id == PRINTER) {
    PrinterJob job = PrinterJob.getPrinterJob();
    job.setPrintable(new PrintObject());
    if (job.printDialog())
    return job.getPrintService().getName();
    } else {
    return null;
    } else {
    return null;}
    This program when compiled gives me the error as
    Error(32,12): method getPrintService() not found in class java.awt.print.PrinterJob
    I did set the project settings from Project-Project Settings and included Oracle Forms Libraries. But I still continue to get the error.
    I understood from the web that I need to put PrintService class which downloaded from the web as part of jnlp.jar
    How should I set this if this is the correct one?
    Early response would be highly appreciated
    Thanks a lot for your time and help
    Narain.

    Narain,
    I could swear I answered this on teh Jdeveloper forum ;-)
    The prin service is part pf Java 1.4, which means that it is not available in JInitiator today. Use the Java Plugin 1.4 and the required classes are present. JNLP stands for Java Network Launching Protocoll and has nothing to do with what you want to achieve.
    In addition, to read the printer names from Forms your jar file has to be signed.
    Frank

  • How do I read the display icon from the IStep interface?

    I would like to read the step icon from a step object for display on my custom UI. IStep::GetSmallIcon returns a LPDISPATCH, but I can't find in any of the documentation how to use that interface pointer to get the icon handle of the step. Is there an TS icon interace that I should query for?
    Thanks,
    Aaron

    Hi,
    ::GetSmallIcon returns a IPictureDisp. IPictureDisp has a property called DISPID_PICT_HANDLE which returns the handle.
    Here is an example code in CVI
    pictureH is a CAObjHandle(IPictureDisp)
    CA_PropertyGet (pictureH, &errorInfo, DISPID_PICT_HANDLE ,CAVT_LONG, &stepIcon);
    You can find more information at the following link in MSDN:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/ctin_p_4gfk.asp

  • How to make SSIS packages automatically read the input file from a path?

    Currently I am using a SSIS package to read data from a .dat file and load it into SQL Server tables.
    I am placing the input .dat file on the desktop. In the connection manager -> Browse option, I am pointing this file to create connection.
    The file naming convention is like - aSNAP_Data_20140926_P-2014-09-26_07.02.36
    However, I need the SSIS package to automatically read the input file from a folder which is located in a remote server. This folder has lots of files where input files are added on a daily basis with the date value in the file name as mentioned above.
    I want to schedule the SSIS package to run daily and take the latest file in the folder based on the date.
    Please let me know how to do it. Any help would be highly appreciated.....
    Thanks in advance.

    Hi SQL_SSIS_Dev,
    According to your description, you want to get the latest file from a path to a SQL Server table. After testing the issue in my environment, we can refer to the following steps to achieve your requirement:
    Create two variables, VarFolderPath stores the folder path in which our files exist, VarFileName hold the value of most recent File Name.
    Drag a Script Task from SSIS Toolbox to Control Flow Pane, then select “User::VarFolderPath” as ReadOnlyVariables, select “User::VarFileName” as ReadWriteVariables.
    Then Edit Script with the C# code below:
    Add “using System.IO;” into namespace.
    Add the code below under Main function:
    var directory= new DirectoryInfo(Dts.Variables["User::VarFolderPath"].Value.ToString());
                FileInfo[] files = directory.GetFiles();
                DateTime lastModified = DateTime.MinValue;
                foreach (FileInfo file in files)
                    if (file.LastWriteTime > lastModified)
                        lastModified = file.LastWriteTime;
                        Dts.Variables["User::VarFileName"].Value = file.ToString();
    Drag a Data Flow Task to Control Flow Pane and connect to Script Task.
    In the Data Flow Task, drag a Flat File Source with a file in the source folder as all the files have same structure as the File name.
    Add the property below the Flat File Connection Manger expression:
    Property: ConnectionString      Expression: @[User::VarFolderPath] +"\\"+ @[User::VarFileName]
    Drag an OLE DB Destination that connect to the Flat File Source, then configure a table to store the data.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • CD Drive = Dead?

    I was going to upload a CD onto iTunes and I put the cd in, and it did nothing but spit it back out, and it spazed out like it was trying to eject something that wasnt coming out. Now it wont even take any form of a CD and im afraid i have killed it.

  • Material type Without Quantity.

    I Have two problem related to Material Type. 1. I Need to Issue the Material Against Production order, i need only value update for accounting purpose, and strictly quantity should not change. In which way i can solve this issue. 2. I need to procure

  • Font changes automatically in Lotus Notes & Excel Find/Replace pops up

    I am using Win XP SP3 and FF 14.0.1 I recently (last couple of weeks) noticed that, when FF 14.0.1 is running, the font size, color, bold and bullet will change automatically in Lotus Notes. Sometimes the font changes from normal horizontal to all ve

  • Viewing thumbnails

    Previously, before reader 8, i could see a thumbnail of the document in my windows explorer when i clicked on 'view thumbnails'. now, since 8, all i see are adobe icons instead of a thumbnail of the actual document. This is not good, because i have t

  • Advice on steps to take when changing from BES environment to BIS environment?

    I have seen posts on switch to the BIS environment but I am leaving a company with BES and would like to convert my BB to use with BIS.. I think there are BES rules, etc that I would like to get a clean slate on but wish to keep my address book, cale