Skip to content

Commit d7d2ea9

Browse files
fjh658aquynh
authored andcommitted
Fixed the form cannot be shown for ida pro 7.2 release version (#55)
* fixed inf no attribute "mf", because ida pro beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro7 beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro7 beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro7 beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro7 beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * Add ida pro version check, about be(big endian) * Add ida pro version check, about be(big endian) * Add ida pro version check, about be(big endian) * Add ida pro version check, about be(big endian) * Since ida pro7 beta 3 (170724) renamed inf.mf -> is_be()/set_be(), Compatible with ida pro 6, 7(beta); for everyone is happy * Since ida pro7 beta 3 (170724) renamed inf.mf -> is_be()/set_be(), Compatible with ida pro 6, 7(beta); for everyone is happy * Since ida pro7 beta 3 (170724) renamed inf.mf -> is_be()/set_be(), Compatible with ida pro 6, 7(beta); for everyone is happy * Since ida pro7 beta 3 (170724) renamed inf.mf -> is_be()/set_be(), Compatible with ida pro 6, 7(beta); for everyone is happy * Fixed inf has no attribute "mf" (#25) * fixed inf no attribute "mf", because ida pro beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * fixed inf no attribute "mf", because ida pro7 beta 3 (170724) renamed inf.is_mf()/set_mf() -> is_be()/set_be() * Add ida pro version check, about be(big endian) * Since ida pro7 beta 3 (170724) renamed inf.mf -> is_be()/set_be(), Compatible with ida pro 6, 7(beta); for everyone is happy * Minor bug fixes and code cleanup (#26) * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * 1. fixed ida pro 7 beta6 x86 crash. idainfo object has no attribute 'procname' 2. refactor: removed "from idc_bc695" According to hexray log document, idc has been done on the adapter idc_bc695, do not need to expose idc_bc695. 3. refactor: removed the adapter idaapi.read_selection. idaapi.read_selection has been adapted internally * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Merge branch 'master' of https://github.com/fjh658/keypatch * Update the installation documentation for the macOS ida * Improve the accuracy of the documentation * Fixed the form cannot be shown for ida pro 7.2 beta Version 7.2.181019. "form: error at %/"
1 parent b0e09b1 commit d7d2ea9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

keypatch.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,9 +1055,9 @@ def __init__(self, kp_asm, addr_begin, addr_end, assembly=None, opts=None):
10551055
<End :{c_addr_end}>
10561056
<Size :{c_size}>
10571057
<~A~ssembly :{c_assembly}>
1058-
<- Fixup :{c_raw_assembly}>
1059-
<- Encode:{c_encoding}>
1060-
<- Size :{c_encoding_len}>
1058+
<##- Fixup :{c_raw_assembly}>
1059+
<##- Encode:{c_encoding}>
1060+
<##- Size :{c_encoding_len}>
10611061
<~N~OPs padding until next instruction boundary:{c_opt_padding}>
10621062
<Save ~o~riginal instructions in IDA comment:{c_opt_comment}>{c_opt_chk}>
10631063
""", {
@@ -1107,12 +1107,12 @@ def __init__(self, kp_asm, address, assembly=None, opts=None):
11071107
<~S~yntax :{c_syntax}>
11081108
<Address :{c_addr}>
11091109
<Original :{c_orig_assembly}>
1110-
<- Encode:{c_orig_encoding}>
1111-
<- Size :{c_orig_len}>
1110+
<##- Encode:{c_orig_encoding}>
1111+
<##- Size :{c_orig_len}>
11121112
<~A~ssembly :{c_assembly}>
1113-
<- Fixup :{c_raw_assembly}>
1114-
<- Encode:{c_encoding}>
1115-
<- Size :{c_encoding_len}>
1113+
<##- Fixup :{c_raw_assembly}>
1114+
<##- Encode:{c_encoding}>
1115+
<##- Size :{c_encoding_len}>
11161116
<~N~OPs padding until next instruction boundary:{c_opt_padding}>
11171117
<Save ~o~riginal instructions in IDA comment:{c_opt_comment}>{c_opt_chk}>
11181118
""", {
@@ -1200,9 +1200,9 @@ def __init__(self, kp_asm, address, assembly=None):
12001200
<~S~yntax :{c_syntax}>
12011201
<A~d~dress :{c_addr}>
12021202
<~A~ssembly :{c_assembly}>
1203-
<- Fixup :{c_raw_assembly}>
1204-
<- Encode:{c_encoding}>
1205-
<- Size :{c_encoding_len}>
1203+
<##- Fixup :{c_raw_assembly}>
1204+
<##- Encode:{c_encoding}>
1205+
<##- Size :{c_encoding_len}>
12061206
""", {
12071207
'c_addr': self.NumericInput(value=address, swidth=MAX_ADDRESS_LEN, tp=self.FT_ADDR),
12081208
'c_assembly': self.StringInput(value=self.asm[:MAX_INSTRUCTION_STRLEN], width=MAX_INSTRUCTION_STRLEN),

0 commit comments

Comments
 (0)