panda icon indicating copy to clipboard operation
panda copied to clipboard

COSI examples don't work

Open AndrewFasano opened this issue 1 year ago • 1 comments

I tried running the COSI process example script and it didn't work. Hoping to get some help from @jamcleod

In the PANDA docker container I got an error that the following URL was not found, not it has json.xz at the end twice

https://panda.re/volatility3_profiles/ubuntu:4.15.0-72-generic:64.json.xz.json.xz

Outside of Docker where I have panda set up I got a different error:

PANDA[core]:E:callbacks.c(try_open_libpanda)> PANDA[core]:Failed to load libpanda: /usr/local/bin//x86_64-softmmu/libpanda-x86_64.so: cannot open shared object file: No such file or directory from /usr/local/bin//x86_64-softmmu/libpanda-x86_64.so PANDA[core]:E:callbacks.c(_panda_require)> PANDA[core]:FAILED to load required plugin cosi from /usr/local/lib/panda/x86_64/panda_cosi.so

AndrewFasano avatar Jan 18 '24 14:01 AndrewFasano

The first issue seems to change if I update the python script to change the profile name to not include the .json.xz

panda.load_plugin("cosi", { "profile": "ubuntu:4.15.0-72-generic:64" })

Then I get this output:

Given symbol table not found, attempting to download... Grabbing file from: https://panda.re/volatility3_profiles/ubuntu:4.15.0-72-generic:64.json.xz OK Downloaded! PANDA[syscalls2]:using profile for linux x64 64-bit python3: panda/plugins/hw_proc_id/hw_proc_id_ext.h:24: target_ulong get_id(CPUState*): Assertion `__get_id' failed. Aborted (core dumped)

AndrewFasano avatar Jan 18 '24 14:01 AndrewFasano