Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Conversation

river-li
Copy link
Contributor

When we tried to add backward compatibility on bndb files, we added a function get_type, but the result of

bv.get_code_refs_for_type("EFI_PEI_NOTIFY_DESCRIPTOR")

and

bv.get_code_refs_for_type(bv.types("EFI_PEI_NOTIFY_DESCRIPTOR")

is different.

The latter is empty and thus fails to define those descriptors.

Fixed this bug by not supporting defining descriptor types on existing bndb anymore. (Consider supporting this in the native rewriting version)

When we tried to add backward compatibility on bndb files, we added a
function `get_type`, but the result of
```python
bv.get_code_refs_for_type("EFI_PEI_NOTIFY_DESCRIPTOR")
```
and
```
bv.get_code_refs_for_type(bv.types("EFI_PEI_NOTIFY_DESCRIPTOR")
```
is different.

Fixed this bug by not defining descriptor types on existing bndb
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant