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

Flags().Uin64P broken #367

Closed
blacktop opened this issue Dec 5, 2022 · 2 comments
Closed

Flags().Uin64P broken #367

blacktop opened this issue Dec 5, 2022 · 2 comments

Comments

@blacktop
Copy link

blacktop commented Dec 5, 2022

ToUintE() fails to parse uint bigger than math.MaxInt64 in the cast dependancy. This prevents people from using numbers like macOS kernel addresses as arguents to cobra:

example:

❯ ipsw macho disass test-caches/IPSWs/20C5058d__iPhone15,2/kernelcache.release.iPhone15,2 -a 0xFFFFFFF008493FE0 -V --fileset-entry com.apple.AGXFirmwareKextG15P_A0RTBuddy

fails because it thinks I entered 0 as the --vaddr (virtual address) to be disassembled

@blacktop
Copy link
Author

blacktop commented Dec 5, 2022

spf13/cobra#1869

@blacktop
Copy link
Author

blacktop commented Dec 6, 2022

My apologies, this is a viper issue, not a pflag issue!

@blacktop blacktop closed this as completed Dec 6, 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

No branches or pull requests

1 participant