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

kernelpatchfinder64_iOS15.hpp:20:17: error: reference to ‘offset_t’ is ambiguous #27

Open
LuckyHeroes opened this issue Jul 25, 2023 · 0 comments

Comments

@LuckyHeroes
Copy link

LuckyHeroes commented Jul 25, 2023

hi tihmstar, im getting compiler errors spewing out, any luck compiling this build or am i missing something

In file included from kernelpatchfinder64.cpp:14:
kernelpatchfinder64_iOS15.hpp:20:17: error: reference to ‘offset_t’ is ambiguous
   20 |         virtual offset_t find_struct_offset_for_PACed_member(const char *strDesc) override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:20:17: error: reference to ‘offset_t’ is ambiguous
   20 |         virtual offset_t find_struct_kqworkloop_offset_kqwl_owner() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:21:17: error: reference to ‘offset_t’ is ambiguous
   21 |         virtual offset_t find_struct_task_offset_thread_count() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:22:17: error: reference to ‘offset_t’ is ambiguous
   22 |         virtual offset_t find_struct_thread_offset_map() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:23:17: error: reference to ‘offset_t’ is ambiguous
   23 |         virtual offset_t find_struct_thread_offset_thread_id() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:24:17: error: reference to ‘offset_t’ is ambiguous
   24 |         virtual offset_t find_struct__vm_map_offset_vmu1_lowest_unnestable_start() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:26:17: error: reference to ‘offset_t’ is ambiguous
   26 |         virtual offset_t find_elementsize_for_zone(const char *zonedesc) override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:28:17: error: reference to ‘offset_t’ is ambiguous
   28 |         virtual offset_t find_sizeof_struct_proc() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:29:17: error: reference to ‘offset_t’ is ambiguous
   29 |         virtual offset_t find_sizeof_struct_task() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:30:17: error: reference to ‘offset_t’ is ambiguous
   30 |         virtual offset_t find_sizeof_struct_thread() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:31:17: error: reference to ‘offset_t’ is ambiguous
   31 |         virtual offset_t find_sizeof_struct_uthread() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |                   ^~~~~~~~
In file included from kernelpatchfinder64.cpp:15:
kernelpatchfinder64_iOS16.hpp:32:17: error: reference to ‘offset_t’ is ambiguous
   32 |         virtual offset_t find_sizeof_struct__vm_map() override;
      |                 ^~~~~~~~
In file included from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:13,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder.hpp:20:19: note: candidates are: ‘using offset_t = tihmstar::libinsn::arm64::insn::loc_t’
   20 |             using offset_t = tihmstar::libinsn::arm64::insn::loc_t;
      |                   ^~~~~~~~
In file included from ../../include/libpatchfinder/machopatchfinder64.hpp:12,
                 from ../../include/libpatchfinder/kernelpatchfinder/kernelpatchfinder64.hpp:12,
                 from kernelpatchfinder64.cpp:9:
../../include/libpatchfinder/patchfinder64.hpp:30:19: note:                 ‘using offset_t = tihmstar::libinsn::arm64::insn::offset_t’
   30 |             using offset_t = tihmstar::libinsn::arm64::insn::offset_t;
      |          
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