dot escaping
This commit is contained in:
parent
110f0c0215
commit
c159e3e599
2 changed files with 10 additions and 2 deletions
3
TODO.md
3
TODO.md
|
|
@ -4,8 +4,9 @@
|
||||||
- tests
|
- tests
|
||||||
- https://source.android.com/docs/core/runtime/dex-format#system-annotation
|
- https://source.android.com/docs/core/runtime/dex-format#system-annotation
|
||||||
- goto size computation
|
- goto size computation
|
||||||
|
- Check label duplication (maybe allow identical labels at the same address only?)
|
||||||
- no nop when no payload
|
- no nop when no payload
|
||||||
- name register / parameters
|
- name register / parameters
|
||||||
- fix flake
|
- fix flake
|
||||||
- fix python binding
|
- fix python binding or remove
|
||||||
- clean repo
|
- clean repo
|
||||||
|
|
|
||||||
|
|
@ -266,7 +266,14 @@ impl<'a> MethodCFG<'a> {
|
||||||
let block_name = if i == 0 {
|
let block_name = if i == 0 {
|
||||||
"ENTRY".into()
|
"ENTRY".into()
|
||||||
} else if !node.labels.is_empty() {
|
} else if !node.labels.is_empty() {
|
||||||
format!("block '{}'", node.labels[0])
|
format!(
|
||||||
|
"block '{}'",
|
||||||
|
node.labels[0]
|
||||||
|
.replace("&", "&")
|
||||||
|
.replace(">", ">")
|
||||||
|
.replace("<", "<")
|
||||||
|
.replace("\"", """)
|
||||||
|
)
|
||||||
} else {
|
} else {
|
||||||
format!("block {i}")
|
format!("block {i}")
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue