-
Notifications
You must be signed in to change notification settings - Fork 237
inconsistencies in permission heirarchy of segments / sections / variables #5834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
"-1" in this line |
pure talking may be is really not ok to show it.
but if we are reversing vmlinux, the symbols according with data can be retrived , then the functions have a different c code as following:
I did not revere it so thats just my guess |
The reason why we used the value of the Surprisingly, we can also see several such read-only sections are actually in a segment marked as I am not sure how this should be handled, I will bring it up for some discussions |
谢谢!
|
也许我们还是可以考虑下处理这个问题。如下所示:
|
open python console then paste the following python scripts:
|
rodata_section.permissions = SectionSemantics.ReadWriteDataSectionSemantics and i tried to use
the ret is
is there any possible for us to use one line of python script finish this job? |
I've updated the title based on some internal discussion. The new memory map system is designed to unify and resolve these issues and once the roadmap for that is complete we expect this issue and similar ones to be resolved. |
Version and Platform (required):
Bug Description:
[after ninja load symbol
when we need to F5, the c cocde ](#5819)
The key problem:
When I am reversing vmlinux,
after loading vmlinux, Ninja will load symbols and get the value of symbols, then use the values in functions and output the static analysis answer based on the symbol data.
But to be honest, a lot of symbol values will change after loading into the kernel.
Here is a real case:
after compiled , Using ninja to open vmlinux.
we can see the code as following:
But in ghidra we can see :
and we can check ,the ans is really different.
The text was updated successfully, but these errors were encountered: