GP-0 Fill out a few StubListing methods to avoid VT test stack traces

This commit is contained in:
ghidra1 2025-06-10 13:46:34 -04:00
parent 5ef97ee1d9
commit f9a7a3d6ce

View file

@ -83,22 +83,22 @@ public class StubListing implements Listing {
@Override @Override
public AddressIterator getCommentAddressIterator(CommentType commentType, public AddressIterator getCommentAddressIterator(CommentType commentType,
AddressSetView addrSet, boolean forward) { AddressSetView addrSet, boolean forward) {
throw new UnsupportedOperationException(); return AddressIterator.EMPTY_ITERATOR;
} }
@Override @Override
public AddressIterator getCommentAddressIterator(AddressSetView addrSet, boolean forward) { public AddressIterator getCommentAddressIterator(AddressSetView addrSet, boolean forward) {
throw new UnsupportedOperationException(); return AddressIterator.EMPTY_ITERATOR;
} }
@Override @Override
public long getCommentAddressCount() { public long getCommentAddressCount() {
throw new UnsupportedOperationException(); return 0;
} }
@Override @Override
public String getComment(CommentType commentType, Address address) { public String getComment(CommentType commentType, Address address) {
throw new UnsupportedOperationException(); return null;
} }
@Override @Override