Gigithecode and Claude Opus 5
dbf1cab94a
Fix broken __future__ import in IDA plugin custom_script
...
The first line reads `from future import __annotations__`, with the
module name and the imported symbol swapped. The intent was clearly the
PEP 563 future statement `from __future__ import annotations`.
As written, the line fails in both possible situations:
- without the third-party `future` package installed (the common case),
the import raises `ModuleNotFoundError`, so `QILING_IDA` is never
defined;
- with that package installed, the import silently succeeds but binds
the module's empty `__annotations__` dict, so PEP 563 is *not*
enabled — while the annotations in this file (`ql: Qiling`) rely on
it, `Qiling` being imported under `TYPE_CHECKING` only.
Co-Authored-By: Claude Opus 5 <[email protected] >
Claude-Session: https://claude.ai/code/session_01Pru9dwqPVrDakERYZwzjUx
2026-08-07 18:32:55 +07:00
elicn
d1accb972a
Revamp IDA custom script
2023-06-28 21:44:40 +03:00
elicn
4860f958cb
Opportunistic PEP8 fixes
2023-06-18 01:17:00 +03:00
elicn
38a8622f91
archtype and ostype no longer support string values
2023-06-16 17:08:27 +03:00
elicn
86b8b6fee7
Add tracing example
2023-05-29 12:09:14 +03:00
chinggg
d8c9cb5b61
feat: QL_VERBOSE.DISASM will try to use r2 disassembler
2022-08-12 18:21:47 +08:00
chinggg
2733e2bbee
feat(r2): monkey patch QlArchUtils.disassembler
...
r2.enable_disasm() can replace `QL_VERBOSE.DISASM`
2022-08-01 13:21:52 +08:00
chinggg
bb09b512f3
feat(r2): selective disasm by regex filtering flag name
2022-07-25 15:36:32 +08:00
chinggg
1fa094dd2b
feat(r2): disasm N bytes to print resolved disasm
...
- still in r2 extension, no change in qiling core
- same hook type as QlArchUtils.disassembler
2022-07-20 21:14:14 +08:00
chinggg
5ca42773b6
refactor: use decorator to analyze before call methods
2022-07-06 15:56:54 +08:00
chinggg
a9d75944ab
feat: PoC of r2 xref
2022-07-06 15:13:22 +08:00
chinggg
027a926b2d
PoC of symbol resolved trace powered by r2
2022-07-06 10:54:45 +08:00
chinggg
682ee74a87
Improve at function to get offset to flag
2022-07-06 10:51:33 +08:00
chinggg
cee426538d
Add function to get associated flag at an address
...
- flag is a bookmark that associate a name with a given offset
- memory address in qiling can be interpreted better
2022-07-05 00:06:06 +08:00
chinggg
ca755a28a1
Replace binascii.unhexlify with bytes.fromhex in r2 example
2022-06-19 21:52:30 +08:00
chinggg
c1dcc23055
Support shellcode mode and set r2 asm arch and bits
...
- eliminate magic number of baseaddr and loadaddr
- update example of shellcode mode
2022-06-18 15:10:13 +08:00
chinggg
9900c10102
style: avoid importing namespace pollution
2022-06-14 21:20:00 +08:00
chinggg
5456e42bff
feat: add r2 extension
2022-06-14 16:40:27 +08:00
elicn
3cc3d395a7
Adjust all reg usages
2022-01-25 15:29:34 +02:00
mio
c628a95bbd
Use __getattr__ instead of __getattribute__
2021-12-01 17:38:09 +01:00
mio
ad0456596a
Remove output in the whole project
...
Please use verbose instead. See core.py for details
2021-03-29 16:41:02 +08:00
mio
b4608d3386
Fix logging in custom script
2021-03-22 10:29:18 +08:00
xwings
5502636057
remove old logging and replace with ql.log
2021-01-28 22:58:38 +08:00
xwings
cb1fb613f7
fix header, adjust import
2021-01-11 15:36:09 +08:00
mio
df779358f7
Add Execute Selection
...
Add Set PC
Add Junk Code Removal
Add Nop Items without Colors
2020-10-10 17:23:20 +08:00
xwings
321cf33fe3
move idaplug in example to proper place
2020-09-15 22:09:36 +08:00
0ssigeno
e079051d36
Refactor - make_report into generate_report
2020-09-14 17:46:57 +02:00
0ssigeno
cbc96fc9b6
Simplified creation of dict from object
...
Made documentation inside README.md and qltool
Added json to ChangeLog
Create test for qltool and example for the json extension
2020-09-14 16:49:58 +02:00