Skip to content

How to correctly generate .simresult file #2

@wynn1212

Description

@wynn1212

Hi!
I have some trouble generating .simresult file
In the evaluation_set folder, each [Device name] folder have one firmware binary and alone with 2 simresult file which is [Device_name].simresult and [Device_name]_all.simresult

Take DIR-100 as an example, if I try to generate myself simresult file via unstrip.jar with this command.

java -jar build/libs/unstrip-1.0-SNAPSHOT.jar ../../30_DIR100/30_DIR100 -c -l MIPS:BE:32:default -b 0x80000100 -O ../../30_DIR100/30_DIR100.simresult

It'll generated the simresult file but in run.sh it'll end up did not find any source_func, therefore cannot generate findtrace_output result (only summary and summary.json) and it looks like it is missing some function name like Packt_WebGetsVar, recv and recvfrom

  • So how to correctly generate the [Device name].simresult file?

  • Also I have a question about how does [Device name]_all.simresult being generated?

Thank you!

Below is my self-generate simresult file via the unstrip.jar with the command above.
30_DIR100.simresult.txt
Which hope it helps to diagnosis the problem I have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions