添加 BGI 脚本导入重复字符串的支持;新增 WriteAt 特性以支持在特定偏移写入数据

This commit is contained in:
2025-06-07 18:18:56 +08:00
parent 5533e901f7
commit f1e35c904c
6 changed files with 277 additions and 6 deletions

View File

@@ -221,6 +221,12 @@ pub struct BGIString {
pub typ: BGIStringType,
}
impl BGIString {
pub fn is_internal(&self) -> bool {
matches!(self.typ, BGIStringType::Internal)
}
}
pub struct V0Parser<'a> {
buf: MemReaderRef<'a>,
largest_code_address_pperand_encountered: usize,