Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ptrlib 2.0.0 #14

Merged
merged 19 commits into from
Dec 16, 2022
Merged

ptrlib 2.0.0 #14

merged 19 commits into from
Dec 16, 2022

Conversation

ptr-yudai
Copy link
Owner

Improve performance and readability

What's this Pull Request for?

Choose one or more of the following items.

  • Bug fix
  • Add/Remove feature
  • Cleaning code (including optimization/typo fix)
  • Others

Please explain the detail here:
This PR changes directory structure of ptrlib and update it to 2.0.0.
The major change in feature is

  • Remove less-used functions such as extract_flag
  • Change system call table from SYS_xxx[arch] to syscall.arch.xxx
  • Remove outdated "construct" module and instead use bunkai struct for ELF parser
  • Remove old bruteforce functions and add new bruteforce function
  • Add some utility functions such as pad/unpad, p8/u8

What have you done so far?

Tell me what you've tested to assure your change is right.

  • All tests passed on your machine (python -m unittest)
  • Added test cases for new feature
  • Nothing / Test not required

(It's not mandatory to check even one of them, but test cases make it easy for the author to review your PR.)

Comment

🎉

@ptr-yudai ptr-yudai merged commit a9005a5 into master Dec 16, 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.

1 participant