Skip to content

Maintenance PR#1182

Merged
elicn merged 34 commits intoqilingframework:devfrom
elicn:dev-maintain
Jul 5, 2022
Merged

Maintenance PR#1182
elicn merged 34 commits intoqilingframework:devfrom
elicn:dev-maintain

Conversation

@elicn
Copy link
Member

@elicn elicn commented Jun 28, 2022

[Replaces #1173]

Maintenance PR for security and code quality.

Highlights:

  • Safer path semantics
    • Provide the emulated program with virtual paths rather than host paths, when possible (WIP)
    • Paths accessed by the emulated program must end up under rootfs to prevent messing up the host file system [that takes symlinks into considerations to prevent path traversals]
  • The emulated program must reside somewhere in rootfs
  • Revised POSIX filestruct and socket modules for a better code quality
  • Improved format srtring handling
  • Comments and typing annotations

Bug fixes (Windows):

  • Fixed wrong KI USER SHARED DATA location
  • Fixed missing fcall unwinding on DllMain exeution (system DLLs get to run longer now)
  • Fixed clipboard data handling
  • Fixed Windows threads scheduling bug
  • Fixed several Windows APIs
  • Implemented several missing Windows APIs

@elicn elicn marked this pull request as ready for review July 3, 2022 21:02
@kabeor kabeor requested review from wtdcode and removed request for chenhuitao and cla7aye15I4nd July 4, 2022 09:42
@xwings
Copy link
Member

xwings commented Jul 4, 2022

always in love with your code.

@elicn elicn linked an issue Jul 5, 2022 that may be closed by this pull request
@elicn elicn merged commit 18a5668 into qilingframework:dev Jul 5, 2022
@elicn elicn deleted the dev-maintain branch July 5, 2022 12:53
@elicn elicn mentioned this pull request Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ql_syscall_setsockopt crash

4 participants