Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Cpp2Rust
cpp2rust
Repository navigation
Code
Issues
10
(10)
Pull requests
4
(4)
Actions
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpp2rust
rules
cstring
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 5, 2026
Replace `ptr.offset(x).op` with `offset!(ptr, x).op` in the rules
Show description for 8fd005f
nunoplopes
committed
8fd005f
View commit details
Copy full SHA for 8fd005f
View code at this point
Browse repository at this point
Switch char to i8 (#452)
Show description for dc5584e
nunoplopes
authored
dc5584e
View commit details
Copy full SHA for dc5584e
View code at this point
Browse repository at this point
Commits on Sep 15, 2026
Remove unneeded clones in converter and rules (#371)
Show description for 6485b0a
lucic71
authored
6485b0a
View commit details
Copy full SHA for 6485b0a
View code at this point
Browse repository at this point
Commits on Jul 18, 2026
Add safe cstring rules (#250)
lucic71
authored
a9c50e7
View commit details
Copy full SHA for a9c50e7
View code at this point
Browse repository at this point
Commits on Jul 11, 2026
Add safe malloc/calloc/realloc/free/strdup (#234)
lucic71
authored
2caaa96
View commit details
Copy full SHA for 2caaa96
View code at this point
Browse repository at this point
Commits on Jul 1, 2026
Translate char as libc::c_char in unsafe (#194)
Show description for 1b372c1
lucic71
authored
1b372c1
View commit details
Copy full SHA for 1b372c1
View code at this point
Browse repository at this point
Commits on Jun 12, 2026
Translate size_t/ssize_t as usize/isize (#185)
Show description for 92e2e20
lucic71
authored
92e2e20
View commit details
Copy full SHA for 92e2e20
View code at this point
Browse repository at this point
Commits on Jun 3, 2026
Wrap variadic arg in paren before calling .into() (#168)
Show description for f0883dc
lucic71
authored
f0883dc
View commit details
Copy full SHA for f0883dc
View code at this point
Browse repository at this point
Commits on May 27, 2026
Add rules for strerror_r and gettimeofday (#146)
Show description for 2b64599
lucic71
authored
2b64599
View commit details
Copy full SHA for 2b64599
View code at this point
Browse repository at this point
Commits on May 23, 2026
cstring: wrap const-generic string functions in parentheses to bypass glibc macros
Show description for ea12f2d
nunoplopes
committed
ea12f2d
View commit details
Copy full SHA for ea12f2d
View code at this point
Browse repository at this point
Remove IR files from git (#144)
Show description for dfd12f3
lucic71
authored
dfd12f3
View commit details
Copy full SHA for dfd12f3
View code at this point
Browse repository at this point
Commits on May 22, 2026
[unsafe] Allow taking the address of malloc, free, realloc, calloc, strdup (#136)
lucic71
authored
2611835
View commit details
Copy full SHA for 2611835
View code at this point
Browse repository at this point
Commits on May 20, 2026
[unsafe] Add more string.h rules (#125)
lucic71
authored
c9dae5e
View commit details
Copy full SHA for c9dae5e
View code at this point
Browse repository at this point
Commits on May 13, 2026
Support src.cpp and src.c in the same rules dir (#92)
Show description for 8802f62
lucic71
authored
8802f62
View commit details
Copy full SHA for 8802f62
View code at this point
Browse repository at this point
Commits on May 1, 2026
Optimize rule loading procedure and scan expr maps sequentually via hashing (#51)
nunoplopes
authored
4cb7e30
View commit details
Copy full SHA for 4cb7e30
View code at this point
Browse repository at this point
Commits on Apr 12, 2026
initial import
Show description for 136fb66
5 people
committed
136fb66
View commit details
Copy full SHA for 136fb66
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.