-
Hello, Thanks in adavance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Depending on what you want to use it for, the store_metadata / query_metadata APIs are a bit simpler to use. That said, here's a quick example that uses the resource-based settings. Note that a project-based setting will actually create a
As long as your plugin always registers that schema users will be able to use the settings UI to set/clear the settings value. Obviously you can use the metadata API if you don't want to use the settings API. Note that on the query side, you can just Thanks for the good question, I'll go ahead and add this example to the API docs as well. |
Beta Was this translation helpful? Give feedback.
Depending on what you want to use it for, the store_metadata / query_metadata APIs are a bit simpler to use.
That said, here's a quick example that uses the resource-based settings. Note that a project-based setting will actually create a
.binaryninja/
folder and put the settings in there for multiple files. I don't think you want that. A resource setting will put the setting in the BNDB itself: