thomasa

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Static Stack Analysis #28043
    thomasa
    Participant

    The static stack analysis now works. Thank you for the support.

    in reply to: Static Stack Analysis #28027
    thomasa
    Participant
    in reply to: Static Stack Analysis #28005
    thomasa
    Participant

    Ok, with file-ending now…

    in reply to: Static Stack Analysis #28004
    thomasa
    Participant

    Ah, maximum filesize…here is the Elf-File only.

    in reply to: Static Stack Analysis #28003
    thomasa
    Participant

    I found a clue why the static stack analysis is failing. In the project where I noticed it, the firmware does not start at address 0x0. The project has a bootloader that resides there.
    The firmware starts at address 0x10000 and the bootloader jumps to this address.
    I cannot provide the ELF-file, but I have provided a simple example project (where the analysis worked) with the other start address, and the analysis fails.

     

    in reply to: Static Stack Analysis #27304
    thomasa
    Participant

    Hi,

    i can debug the dll now, but that doesn’t really help me (and i don’t really know what happens).

    There is the Line 129 in ARMStackUsageAnalyser.cs:

    “foreach (var insn in _Host.TryReadInstructions(path.Address))”

    where the return of the ‘TryReadInstructions’ with a valid function-address returns zero every time and produces the error message ‘HasJumpsToUnreadableAddresses’.

    ‘TryReadInstructions’ is somewhere outside the debug context and i can not reach it.

    Do you have any further suggestions?

    in reply to: Static Stack Analysis #27279
    thomasa
    Participant

    Hi,

    the log views:

    Running verbose stack analysis for EthernetPhyCheckState…
    ***Starting code path at 0x00020764 with stack depth = 0
    ###HasJumpsToUnreadableAddresses

    I’ve download the project and found the line , the log view point to, but if i try to build it, there are a couple of errors, because the include “using VisualGDBExtensibility;” fails.

    The Dissassembly works as expected.

    in reply to: Static Stack Analysis #27266
    thomasa
    Participant

    Hi,

    is there any solution to this issue available?

    If i create a project with STM processors, the “Static Stack Analysis” works correct.
    On my Project with the LPC54628, using the LPCXpresso SDK 2.6, i see the same behaviour as above with the message “Function contains jumps to invalid addresses.”.

    The “Disassembly” view in the memory explorer works correctly.

    The toutorial mentions a possibility to adapt the script/tool, but how did I not realize.

    Kind Regards

     

Viewing 8 posts - 1 through 8 (of 8 total)